blob: 1e48ccd13fc877a4ea27aabeb3cf31ac52be7e3b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
[Unit]
Description=Lightning Stream for PowerDNS Auth
Documentation=https://doc.powerdns.com
Wants=network-online.target
After=network-online.target pdns.service
[Service]
ExecStart=/usr/bin/lightningstream -c /etc/lightningstream.yml sync
SyslogIdentifier=lightningstream
User=powerdns
Group=powerdns
Type=exec
Restart=on-failure
RestartSec=10
StartLimitInterval=0
RuntimeDirectory=lightningstream
LockPersonality=true
NoNewPrivileges=true
PrivateDevices=true
PrivateTmp=true
ProtectClock=true
ProtectControlGroups=true
ProtectHome=true
ProtectHostname=true
ProtectKernelLogs=true
ProtectKernelModules=true
ProtectKernelTunables=true
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
RestrictNamespaces=true
RestrictRealtime=true
RestrictSUIDSGID=true
SystemCallArchitectures=native
SystemCallFilter=~ @clock @debug @module @mount @raw-io @reboot @swap @cpu-emulation @obsolete
ProtectProc=invisible
PrivateIPC=true
RemoveIPC=true
DevicePolicy=closed
[Install]
WantedBy=multi-user.target
|