diff --git a/src/systemd/dtranslatebot.service.in b/src/systemd/dtranslatebot.service.in index 8828423..b537c19 100644 --- a/src/systemd/dtranslatebot.service.in +++ b/src/systemd/dtranslatebot.service.in @@ -5,7 +5,7 @@ After=network.target [Service] User=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" Restart=on-failure