2018-03-07 22:05:55 +01:00
|
|
|
[Unit]
|
|
|
|
|
Description=Flowee the Hub
|
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
|
User=flowee
|
|
|
|
|
Group=flowee
|
|
|
|
|
UMask=022
|
|
|
|
|
|
|
|
|
|
Type=forking
|
|
|
|
|
PIDFile=/var/lib/flowee/hub.pid
|
2026-05-15 22:20:47 +02:00
|
|
|
ExecStart=/usr/bin/hub -daemon -pid=/var/lib/flowee/hub.pid -conf=/etc/flowee/flowee.conf
|
2018-03-07 22:05:55 +01:00
|
|
|
|
|
|
|
|
Restart=always
|
|
|
|
|
PrivateTmp=true
|
|
|
|
|
TimeoutStopSec=60s
|
|
|
|
|
TimeoutStartSec=2s
|
|
|
|
|
StartLimitInterval=120s
|
|
|
|
|
StartLimitBurst=5
|
|
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
|
WantedBy=multi-user.target
|