Skip to content

Commit 996aa11

Browse files
committed
Switch systemd unit example to non-forking
* resolves #807 * updates `go-carbon.service` systemd unit example to not use `forking` mode or `-daemon` flag * removes period from end of the description field as it is not a complete sentence
1 parent 23adfbc commit 996aa11

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

deploy/go-carbon.service

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[Unit]
2-
Description=Golang implementation of Graphite/Carbon server.
2+
Description=Golang implementation of Graphite/Carbon server
33
Documentation=https://github.com/go-graphite/go-carbon
44
After=network-online.target local-fs.target
55
Wants=network-online.target local-fs.target
66

77
[Service]
8-
Type=forking
9-
ExecStart=/usr/bin/go-carbon -config /etc/go-carbon/go-carbon.conf -pidfile /var/run/go-carbon.pid -daemon
8+
Type=simple
9+
ExecStart=/usr/bin/go-carbon -config /etc/go-carbon/go-carbon.conf -pidfile /var/run/go-carbon.pid
1010
ExecReload=/bin/kill -HUP $MAINPID
1111
KillSignal=USR2
1212
Restart=on-failure

0 commit comments

Comments
 (0)