repo.or.cz
/
gentoo-zh.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
remove ia64 keywords
[gentoo-zh.git]
/
net-dns
/
mosdns
/
files
/
mosdns.service
blob
0fdb8c84c6be1cf92d227c3b5c6798964b79aa80
1
[Unit]
2
Description=A DNS forwarder
3
ConditionFileIsExecutable=/etc/mosdns
4
5
[Service]
6
StartLimitInterval=5
7
StartLimitBurst=10
8
ExecStart=/usr/bin/mosdns "start" "--as-service" "-d" "/etc/mosdns" "-c" "/etc/mosdns/config.yaml"
9
Restart=always
10
RestartSec=120
11
EnvironmentFile=-/etc/sysconfig/mosdns
12
13
[Install]
14
WantedBy=multi-user.target