blob: a264553a27e46f976fddf6c06d9ad342eb6c7b87 (
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
|
[Unit]
After=network-online.target
[Service]
Type=simple
DynamicUser=yes
RuntimeDirectory=sliding-sync
EnvironmentFile=/etc/default/sliding-sync
Restart=always
RestartSec=3
ExecStart=/usr/bin/syncv3
SyslogIdentifier=sliding-sync
NoNewPrivileges=true
ProtectKernelTunables=true
ProtectKernelLogs=true
ProtectControlGroups=true
MemoryDenyWriteExecute=true
ProtectClock=true
RestrictRealtime=true
PrivateDevices=true
PrivateTmp=true
ProtectHostname=true
OOMPolicy=stop
OOMScoreAdjust=20
[Install]
WantedBy=multi-user.target
|