bro.service.j2 395 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
18
19
20
[Unit]
Description=zyre-gateway service

[Service]
Type=simple
User={{ app_user }}
Group={{ app_user }}
PIDFile=/run/zyre-gateway.pid
ExecStart=/usr/local/gateway/gateway {{ ansible_hostname }}
KillMode=process
Restart=on-failure
KillSignal=SIGINT
TimeoutStopSec=5
PrivateTmp=true
WorkingDirectory=/usr/local/gateway

EnvironmentFile=-/etc/zyre_gateway.env

[Install]
WantedBy=multi-user.target