fix systemd user service
This commit is contained in:
@ -6,7 +6,7 @@ Type=simple
|
|||||||
#User=
|
#User=
|
||||||
#Group=
|
#Group=
|
||||||
WorkingDirectory=/home/maybetree/srv/klankschool-bardak
|
WorkingDirectory=/home/maybetree/srv/klankschool-bardak
|
||||||
ExecStart=./run.sh
|
ExecStart=/home/maybetree/srv/klankschool-bardak/run.sh
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
StandardOutput=file:%h/log_file
|
StandardOutput=file:%h/log_file
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
systemctl --user enable bardak.service
|
systemctl --user enable ./bardak.service
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user