1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/beehive_ynh.git synced 2024-09-03 18:06:24 +02:00
beehive_ynh/conf/systemd.service
2021-08-29 23:30:19 +02:00

18 lines
452 B
Desktop File

[Unit]
Description=__APP__ service
After=network.target
[Service]
Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__/
ExecStart=__FINALPATH__/beehive --config __FINALPATH__/beehive.conf -bind "127.0.0.1:__PORT__" -canonicalurl "https://__DOMAIN__"
Restart=always
#StandardOutput=/var/log/__APP__/__APP__.log
#StandardError=/var/log/__APP__/__APP__.log
#SyslogIdentifier=__APP__
WatchdogSec=30s
[Install]
WantedBy=multi-user.target