summarylogtreecommitdiffstats
path: root/service
blob: e41bd757b3a4ce56d223c02ecd673192970c3513 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=mosdns Service
Documentation=https://github.com/IrineSistiana/mosdns/wiki
After=network.target

[Service]
NoNewPrivileges=true
ExecStart=/usr/bin/mosdns -c /etc/mosdns/config.yaml -dir /etc/mosdns/
Restart=on-failure

[Install]
WantedBy=multi-user.target