add filtron systemd service

master
steckerhalter 2018-03-18 16:11:23 +01:00
parent 29e88ff623
commit 7d0b6cc32d
1 changed files with 14 additions and 0 deletions

View File

@ -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