From 8c99b0e4fde96c0dfef88e544d6663de7cf0a832 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C2=A9TriMoon=E2=84=A2?= Date: Mon, 4 Sep 2023 11:23:22 +0300 Subject: [PATCH] Update opensnitchd.service Applied suggested changes by @lainedfles --- daemon/opensnitchd.service | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/daemon/opensnitchd.service b/daemon/opensnitchd.service index eb34dc97fb..b7d0033250 100644 --- a/daemon/opensnitchd.service +++ b/daemon/opensnitchd.service @@ -18,11 +18,11 @@ Type=exec ConfigurationDirectory=%N/rules ConfigurationDirectoryMode=0700 -Environment='custom_cfg=%E/%N/rules' -# Environment='opts=-debug' +# Add extra options to the daemon below. fe.'opts=-debug' to add the '-debug' option. +Environment='opts=' ExecCondition=%N -check-requirements -ExecStart=%N -rules-path $custom_cfg $opts +ExecStart=%N -rules-path $CONFIGURATION_DIRECTORY $opts # Signal-info was taken from the init.d script, but it just exits and then systemd restarts the service... ExecReload=kill -HUP $MAINPID