Skip to content

Commit

Permalink
sample systemd service definition file (for Debian)
Browse files Browse the repository at this point in the history
  • Loading branch information
tjko committed Jun 25, 2016
1 parent 5e021e2 commit aa9aeec
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions contrib/nxgipd.service
@@ -0,0 +1,16 @@
# systemd service file for Debian
#
# copy to /etc/systemd/system/
#
[Unit]
Description=nxgipd Alarm Monitoring Daemon
After=syslog.target network.target

[Service]
Type=forking
EnvironmentFile=-/etc/default/nxgipd
PIDFile=/var/run/nxgipd.pid
ExecStart=/usr/local/sbin/nxgipd -p /var/run/nxgipd.pid -d -l $NXGIPD_OPTS

[Install]
WantedBy=multi-user.target

0 comments on commit aa9aeec

Please sign in to comment.