cloudron.target is not needed

This commit is contained in:
Girish Ramakrishnan
2020-08-01 20:00:20 -07:00
parent d2882433a5
commit f4a322478d
6 changed files with 10 additions and 16 deletions
+3 -1
View File
@@ -1,13 +1,15 @@
[Unit]
Description=Cloudron Admin
OnFailure=crashnotifier@%n.service
StopWhenUnneeded=true
; journald crashes result in a EPIPE in node. Cannot ignore it as it results in loss of logs.
BindsTo=systemd-journald.service
After=mysql.service nginx.service
; As cloudron-resize-fs is a one-shot, the Wants= automatically ensures that the service *finishes*
Wants=cloudron-resize-fs.service
[Install]
WantedBy=multi-user.target
[Service]
Type=idle
WorkingDirectory=/home/yellowtent/box