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

21 lines
405 B
SYSTEMD
Raw Normal View History

2018-05-01 12:25:53 +02:00
[Unit]
Description=The Lounge IRC client
2018-05-01 16:13:20 +02:00
After=network.target
2018-05-01 12:25:53 +02:00
2018-05-01 16:23:50 +02:00
[Service]
2018-05-01 12:25:53 +02:00
Type=simple
User=__APP__
Group=__APP__
2021-08-02 08:23:59 +02:00
WorkingDirectory=__FINALPATH__/
2018-05-01 17:42:34 +02:00
Environment="PATH=__ENV_PATH__"
Environment="THELOUNGE_HOME=/home/yunohost.app/__APP__/"
2020-05-27 17:03:30 +02:00
Environment="NODE_ENV=production"
ExecStart=/usr/bin/yarn start
2021-05-10 11:32:49 +02:00
Restart=on-failure
RestartSec=5
StartLimitInterval=60s
StartLimitBurst=3
2015-08-22 20:24:46 +02:00
[Install]
2018-05-01 12:25:53 +02:00
WantedBy=default.target