From 813ed7bbe6bf1f3ed366eae73df6834efe0c3ffa Mon Sep 17 00:00:00 2001 From: Tom Morelly Date: Mon, 10 May 2021 14:12:20 +0200 Subject: [PATCH] use correct pid file flag in systemd unit --- config/systemd/gobetween.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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