blob: 27f99778b7afe80777a5ff44e8f43da83b9cb8b2 (
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=Qiandao - An automatic check-in framework base on an HAR editor
After=syslog.target network.target
StartLimitIntervalSec=20
StartLimitBurst=5
[Service]
Type=simple
User=qiandao
Group=qiandao
DynamicUser=yes
RestartSec=2
PrivateTmp=true
ProtectSystem=full
ProtectHome=true
PrivateDevices=true
ProtectKernelTunables=true
ProtectControlGroups=true
NoNewPrivileges=true
ReadWritePaths=/var/lib/qiandao
ExecStart=/usr/bin/qiandao-run
[Install]
WantedBy=multi-user.target
|