Files
thehub/support/thehub.service
tomFlowee 10520122be Remove datadir from serviced file
Having the datadir on the commandline overrides the config file.
Users can't really update service files as they are overwritten on
package update.
2026-05-15 22:21:08 +02:00

23 lines
387 B
Desktop File

[Unit]
Description=Flowee the Hub
After=network.target
[Service]
User=flowee
Group=flowee
UMask=022
Type=forking
PIDFile=/var/lib/flowee/hub.pid
ExecStart=/usr/bin/hub -daemon -pid=/var/lib/flowee/hub.pid -conf=/etc/flowee/flowee.conf
Restart=always
PrivateTmp=true
TimeoutStopSec=60s
TimeoutStartSec=2s
StartLimitInterval=120s
StartLimitBurst=5
[Install]
WantedBy=multi-user.target