27 lines
747 B
Desktop File
27 lines
747 B
Desktop File
[Unit]
|
|
Description=dnscache, An iterative DNS resolver daemon
|
|
Documentation=man:dnscache(8)
|
|
After=network.target
|
|
After=networking.service
|
|
Requires=network.target
|
|
Wants=dnscache.forwarder.service
|
|
#BindsTo= > Requires= > Wants= > Requisite=
|
|
|
|
[Service]
|
|
Type=simple
|
|
PermissionsStartOnly=true
|
|
LimitDATA=3000000
|
|
LimitNOFILE=250
|
|
WorkingDirectory=/var/service/dnscache/root
|
|
Environment="DATALIMIT=3000000" "IP=192.168.233.1" FORWARDONLY=1 IPSEND=0.0.0.0 CACHESIZE=200000 GID=410 UID=410 "ROOT=/var/service/dnscache/root"
|
|
ExecStartPre=/sbin/e-smith/service-status dnscache
|
|
ExecStartPre=/sbin/e-smith/systemd/dnscache-pre
|
|
ExecStart=/usr/local/bin/dnscache
|
|
|
|
Restart=always
|
|
RestartSec=20s
|
|
SyslogIdentifier=dnscache
|
|
|
|
[Install]
|
|
WantedBy=sme-server.target
|