19 lines
385 B
Desktop File
19 lines
385 B
Desktop File
[Unit]
|
|
Description=Blocky is a DNS proxy and ad-blocker
|
|
ConditionPathExists=/opt/blocky
|
|
After=local-fs.target
|
|
[Service]
|
|
User=blocky
|
|
Group=blocky
|
|
Type=simple
|
|
WorkingDirectory=/opt/blocky
|
|
ExecStart=/opt/blocky/blocky --config /opt/blocky/config.yml
|
|
Restart=on-failure
|
|
RestartSec=10
|
|
StandardOutput=syslog
|
|
StandardError=syslog
|
|
SyslogIdentifier=blocky
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|