blob: f43a5ce185d7c44adfa0ecb9e595875592650e0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
[Unit]
Description=DTail server
After=network.target
[Service]
Slice=dserver.slice
User=dserver
Group=dserver
ExecStart=/usr/local/bin/dserver -cfg /etc/dserver/dtail.json
WorkingDirectory=/var/run/dserver
RuntimeDirectory=dserver
RuntimeDirectoryMode=0755
ExecStartPre=/usr/bin/mkdir -p /var/run/dserver/cache /var/run/dserver/log
NoNewPrivileges=true
PrivateDevices=true
PrivateTmp=true
CPUAccounting=true
MemoryAccounting=true
BlockIOAccounting=true
[Install]
WantedBy=multi-user.target
|