.deb: remove daemon options from .service file

The options are now configurable from the configuration file, as well
as the UI.
This commit is contained in:
Gustavo Iñiguez Goia 2020-11-02 10:55:46 +01:00
parent aa18d184a2
commit b521f275c2

View file

@ -1,6 +1,6 @@
[Unit] [Unit]
Description=OpenSnitch is a GNU/Linux application firewall. Description=OpenSnitch is a GNU/Linux application firewall.
Documentation=https://github.com/evilsocket/opensnitch Documentation=https://github.com/gustavo-iniguez-goya/opensnitch/wiki
Wants=network.target Wants=network.target
After=network.target After=network.target
@ -8,7 +8,7 @@ After=network.target
Type=simple Type=simple
PermissionsStartOnly=true PermissionsStartOnly=true
ExecStartPre=/bin/mkdir -p /etc/opensnitchd/rules ExecStartPre=/bin/mkdir -p /etc/opensnitchd/rules
ExecStart=/usr/bin/opensnitchd -important -log-file /var/log/opensnitchd.log -rules-path /etc/opensnitchd/rules -ui-socket unix:///tmp/osui.sock ExecStart=/usr/bin/opensnitchd -rules-path /etc/opensnitchd/rules
Restart=always Restart=always
RestartSec=30 RestartSec=30