2021-03-07 01:45:20 +01:00
|
|
|
[Unit]
|
|
|
|
Description=__APP__ service
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
User=__APP__
|
|
|
|
Group=__APP__
|
2023-03-25 21:05:36 +01:00
|
|
|
WorkingDirectory=__INSTALL_DIR__/
|
|
|
|
ExecStart=__INSTALL_DIR__/beehive --config __INSTALL_DIR__/beehive.conf -bind "127.0.0.1:__PORT__" -canonicalurl "https://__DOMAIN__"
|
2021-03-07 01:45:20 +01:00
|
|
|
Restart=always
|
2021-08-29 23:21:40 +02:00
|
|
|
#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
|