Browse Source

add filtron systemd service

master
steckerhalter 2 years ago
parent
commit
7d0b6cc32d
1 changed files with 14 additions and 0 deletions
  1. +14
    -0
      etc/systemd/system/filtron.service

+ 14
- 0
etc/systemd/system/filtron.service 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

Loading…
Cancel
Save