2021-03-07 01:45:20 +01:00
|
|
|
[Unit]
|
|
|
|
Description=__APP__ service
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
User=__APP__
|
|
|
|
Group=__APP__
|
|
|
|
WorkingDirectory=__FINALPATH__/
|
2021-08-18 23:23:37 +02:00
|
|
|
ExecStart=__FINALPATH__/beehive --config __FINALPATH__/beehive.conf
|
|
|
|
#-bind "127.0.0.1:__PORT__" -canonicalurl "https://__DOMAIN__"
|
2021-03-07 01:45:20 +01:00
|
|
|
Restart=always
|
|
|
|
StandardOutput=/var/log/__APP__/__APP__.log
|
|
|
|
StandardError=/var/log/__APP__/__APP__.log
|
|
|
|
SyslogIdentifier=__APP__
|
2021-06-13 16:02:07 +02:00
|
|
|
WatchdogSec=30s
|
2021-03-07 01:45:20 +01:00
|
|
|
|
|
|
|
[Install]
|
2021-08-10 10:20:46 +02:00
|
|
|
WantedBy=multi-user.target
|