summarylogtreecommitdiffstats
path: root/dqcache@.service
blob: bd4cf5bb94e62e86e07cf9ac2579d1fd15ec08e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[Unit]
Description=dqcache caching recursive DNS server
Documentation=https://mojzis.com/software/dq
After=network.target

[Service]
Type=simple
Restart=always
PrivateTmp=true
PrivateDevices=true
ProtectSystem=true
WorkingDirectory=/etc/dqcache/%i
EnvironmentFile=-/etc/dqcache/%i.conf
EnvironmentFile=/etc/dqcache/%i/config
Environment=ROOT=/etc/dqcache/%i
ExecStart=/usr/bin/dqcache

[Install]
WantedBy=multi-user.target