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

26 lines
484 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-30 10:19:47 +02:00
#WorkingDirectory=__FINALPATH__/
2021-08-30 10:39:04 +02:00
Environment="PATH=__ENV_PATH__"
2021-08-30 10:19:47 +02:00
#Environment="THELOUNGE_HOME=/home/yunohost.app/__APP__/"
2021-08-30 10:39:04 +02:00
Environment="NODE_ENV=production"
2021-08-30 09:27:08 +02:00
ExecStart=/usr/bin/yarn start
2021-08-30 10:19:47 +02:00
ProtectSystem=yes
ProtectHome=yes
NoNewPrivileges=yes
PrivateTmp=yes
#Restart=on-failure
#RestartSec=5
#StartLimitInterval=60s
#StartLimitBurst=3
2015-08-22 20:24:46 +02:00
[Install]
2021-08-30 10:19:47 +02:00
WantedBy=multi-user.target