summaryrefslogtreecommitdiff
path: root/packages/systemd/ndpid@.service.in
blob: cfbb4110f72837aca5c2983b9d693a6cc8e34bae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[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