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

18 lines
430 B
SYSTEMD
Raw Normal View History

2021-03-07 01:45:20 +01:00
[Unit]
Description=__APP__ service
After=network.target
[Service]
Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__/
ExecStart=__FINALPATH__/beehive -bind 127.0.0.1:__PORT__ -canonicalurl __DOMAIN____PATH__
Restart=always
StandardOutput=/var/log/__APP__/__APP__.log
StandardError=/var/log/__APP__/__APP__.log
SyslogIdentifier=__APP__
Environment=GOPATH=/usr/local/go/bin
[Install]
WantedBy=multi-user.target