Openweb-Search/etc/systemd/system/filtron.service

15 lines
263 B
INI

[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