blob: f75d16761eab83655db5836a32661a8fa605da07 (
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
|
[Unit]
Description=High availability daemon for Redict
After=network.target
[Service]
Type=notify
User=redict
Group=redict
ExecStart=/usr/bin/redict-sentinel /etc/redict/sentinel.conf --supervised systemd
TimeoutStartSec=60
TimeoutStopSec=60
CapabilityBoundingSet=
PrivateTmp=true
PrivateDevices=true
ProtectSystem=full
ProtectHome=true
ReadWritePaths=/etc/redict/
NoNewPrivileges=true
RuntimeDirectory=redict
RuntimeDirectoryMode=755
LimitNOFILE=10032
[Install]
WantedBy=multi-user.target
|