aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2023-09-11 16:58:13 +0200
committerToni Uhlig <matzeton@googlemail.com>2023-09-11 16:58:13 +0200
commita0e0611c56e9bd291e3ae7f534ab279fc9143369 (patch)
tree88bdc52cd9710a32e3301ff1f0084a419730c710 /packages
parent7f8e01d4425d7c7ef3a1eec35dc47988281ddc8e (diff)
nDPIsrvd: Log error if collector unix socket can not be removed.
* systemd: add post stop hook to forcefully remove the collector unix socket Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'packages')
-rw-r--r--packages/systemd/ndpisrvd.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/systemd/ndpisrvd.service b/packages/systemd/ndpisrvd.service
index 9218f6599..722cf38e9 100644
--- a/packages/systemd/ndpisrvd.service
+++ b/packages/systemd/ndpisrvd.service
@@ -5,6 +5,7 @@ After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/nDPIsrvd -l -c /var/run/ndpisrvd-collector
+ExecStopPost=/bin/rm -f /var/run/ndpisrvd-collector
Restart=on-failure
[Install]