blob: 20d3e0e80d2d8c7186b21ce9a1aea2e58c497b9c (
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=Ivideon Videoserverd
After=network.target network-online.target nss-lookup.target
Requires=network.target
ConditionPathExists=/etc/videoserverd.conf
[Service]
Type=simple
User=videoserverd
PIDFile=/run/videoserverd/videoserverd.pid
ExecStart=/opt/ivideon/ivideon-server/videoserver -c /etc/videoserverd.conf -d /var/log/videoserverd/dumps
ExecReload=/usr/bin/kill -HUP $MAINPID
TimeoutSec=30s
Restart=on-failure
RestartSec=5s
StartLimitInterval=60
StartLimitBurst=5
KillMode=process
SendSIGKILL=yes
[Install]
WantedBy=multi-user.target
|