|
@@ -7,6 +7,8 @@ Type=forking
|
|
|
EnvironmentFile=/etc/nfcapd/%i.conf
|
|
EnvironmentFile=/etc/nfcapd/%i.conf
|
|
|
ExecStart=/bin/nfcapd -D -P /var/run/nfcapd.%i.pid -z -w -t 600 -p ${LISTEN_PORT} -S 1 -l ${DATA_DIR} ${EXT}
|
|
ExecStart=/bin/nfcapd -D -P /var/run/nfcapd.%i.pid -z -w -t 600 -p ${LISTEN_PORT} -S 1 -l ${DATA_DIR} ${EXT}
|
|
|
PIDFile=/var/run/nfcapd.%i.pid
|
|
PIDFile=/var/run/nfcapd.%i.pid
|
|
|
|
|
+RestartSec=30
|
|
|
|
|
+Restart=on-failure
|
|
|
|
|
|
|
|
[Install]
|
|
[Install]
|
|
|
WantedBy=multi-user.target
|
|
WantedBy=multi-user.target
|