mirror of
https://github.com/Syping/dtranslatebot.git
synced 2024-11-22 13:50:22 +01:00
systemd: change working directory to /var/lib/dtranslatebot
This commit is contained in:
parent
912ac1eced
commit
716a03c43b
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ After=network.target
|
||||||
[Service]
|
[Service]
|
||||||
User=dtranslatebot
|
User=dtranslatebot
|
||||||
Group=dtranslatebot
|
Group=dtranslatebot
|
||||||
WorkingDirectory="@CMAKE_INSTALL_FULL_RUNSTATEDIR@/dtranslatebot"
|
WorkingDirectory="@CMAKE_INSTALL_FULL_LOCALSTATEDIR@/lib/dtranslatebot"
|
||||||
ExecStart="@CMAKE_INSTALL_FULL_BINDIR@/dtranslatebot" "@CMAKE_INSTALL_FULL_SYSCONFDIR@/dtranslatebot.json"
|
ExecStart="@CMAKE_INSTALL_FULL_BINDIR@/dtranslatebot" "@CMAKE_INSTALL_FULL_SYSCONFDIR@/dtranslatebot.json"
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue