blob: 9a497b06500a3ceb069e3036c9d122ad23092849 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
[Unit]
Description=Remote tcp connection service %i
Requires=network.target
After=network.target remoteit-refresh.service
[Service]
Type=forking
PIDFile=/var/run/remoteit-%i.pid
RemainAfterExit=no
ExecStart=/usr/share/remoteit/remoteit.sh %i
ExecReload=/bin/kill -HUP $MAINPID -f /usr/share/remoteit/remoteit.sh %i
Restart=always
RestartSec=10s
TimeoutStartSec=0
StartLimitInterval=60
StartLimitBurst=86400
[Install]
WantedBy=multi-user.target
|