mirror of
https://github.com/Syping/dtranslatebot.git
synced 2025-09-24 17:41:42 +02:00
systemd: escape working directory
This commit is contained in:
parent
7d8bbd12ce
commit
66a504ac55
2 changed files with 12 additions and 2 deletions
|
@ -5,9 +5,9 @@ After=network.target
|
|||
[Service]
|
||||
User=dtranslatebot
|
||||
Group=dtranslatebot
|
||||
WorkingDirectory="@CMAKE_INSTALL_FULL_LOCALSTATEDIR@/lib/dtranslatebot"
|
||||
WorkingDirectory=@dtranslatebot_SERVICE_WORKDIR@
|
||||
ExecStart="@CMAKE_INSTALL_FULL_BINDIR@/dtranslatebot" "@CMAKE_INSTALL_FULL_SYSCONFDIR@/dtranslatebot.json"
|
||||
Restart=on-failure
|
||||
Restart=on-abnormal
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue