tinc.ubuntu.service.j2 333 Bytes
Newer Older
Alexander Withers's avatar
Alexander Withers committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=tinc service

[Service]
Type=simple
User={{ app_user }}
Group={{ app_user }}
PIDFile=/run/tinc.pid
ExecStart=/usr/local/bin/zyre-gateway -i {{ zsys_interface }} --group {{ zyre_group }} -d
KillMode=process
Restart=on-failure
KillSignal=SIGINT
TimeoutStopSec=5
PrivateTmp=true

[Install]
WantedBy=multi-user.target