1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/thelounge_ynh.git synced 2024-09-03 20:35:54 +02:00
thelounge_ynh/conf/systemd.service
ericgaspar 773196147e
Fix
2021-08-30 14:41:20 +02:00

25 lines
483 B
Desktop File

[Unit]
Description=The Lounge IRC client
After=network.target
[Service]
Type=simple
User=__APP__
Group=__APP__
#WorkingDirectory=__FINALPATH__/
Environment="PATH=__ENV_PATH__"
Environment="THELOUNGE_HOME=/home/yunohost.app/__APP__/"
Environment="NODE_ENV=production"
ExecStart=/usr/bin/yarn start
ProtectSystem=yes
ProtectHome=yes
NoNewPrivileges=yes
PrivateTmp=yes
#Restart=on-failure
#RestartSec=5
#StartLimitInterval=60s
#StartLimitBurst=3
[Install]
WantedBy=multi-user.target