mirror of
https://github.com/optim-enterprises-bv/nDPId.git
synced 2025-11-02 03:07:49 +00:00
* cfg file path defaults to PREFIX/etc/default/ndpid Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
15 lines
392 B
SYSTEMD
15 lines
392 B
SYSTEMD
[Unit]
|
|
Description=nDPId Service on interface %i
|
|
After=ndpisrvd.service
|
|
Requires=ndpisrvd.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=@CMAKE_INSTALL_PREFIX@/sbin/nDPId $NDPID_ARGS -i %i -c ${COLLECTOR_PATH}
|
|
Restart=on-failure
|
|
Environment=COLLECTOR_PATH=/var/run/ndpisrvd-collector NDPID_ARGS="-A -z"
|
|
EnvironmentFile=@CMAKE_INSTALL_PREFIX@/etc/default/ndpid
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|