Browse Source

add filtron systemd service

master
steckerhalter 4 years ago
parent
commit
7d0b6cc32d
  1. 14
      etc/systemd/system/filtron.service

14
etc/systemd/system/filtron.service

@ -0,0 +1,14 @@
[Unit]
Description=filtron proxy
[Service]
Type=simple
User=filtron
Environment="GOPATH=/usr/local/filtron/.go"
ExecStart=/usr/local/filtron/.go/bin/filtron -rules /usr/local/filtron/rules.json
TimeoutSec=15
Restart=always
[Install]
WantedBy=multi-user.target
Loading…
Cancel
Save