diff --git a/config/systemd/gobetween.service b/config/systemd/gobetween.service index 04586e0e..9641efd7 100644 --- a/config/systemd/gobetween.service +++ b/config/systemd/gobetween.service @@ -7,7 +7,7 @@ After=network.target remote-fs.target nss-lookup.target Type=simple PIDFile=/run/gobetween.pid #ExecStartPre=prestart some command -ExecStart=/usr/sbin/gobetween -c /etc/gobetween.toml -pidfile /run/gobetween.pid +ExecStart=/usr/sbin/gobetween -c /etc/gobetween.toml --pidfile /run/gobetween.pid ExecStop=/bin/kill -s TERM $MAINPID PrivateTmp=true LimitNOFILE=infinity