summaryrefslogtreecommitdiff
path: root/packages/systemd/ndpisrvd.service.in
blob: 0fd3ba8e7ae21bc48c35bc1ecf0215ebec371a1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=nDPIsrvd Service
After=network.target

[Service]
Type=simple
ExecStart=@CMAKE_INSTALL_PREFIX@/bin/nDPIsrvd -c ${COLLECTOR_PATH}
ExecStopPost=/bin/rm -f /var/run/ndpisrvd-collector
Restart=on-failure
Environment=COLLECTOR_PATH=/var/run/ndpisrvd-collector
EnvironmentFile=@CMAKE_INSTALL_PREFIX@/etc/default/ndpid

[Install]
WantedBy=multi-user.target