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
396 B
SYSTEMD
Raw Normal View History

2018-05-01 12:25:53 +02:00
[Unit]
2023-03-14 16:52:36 +01:00
Description=TheLounge: 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__
2023-03-14 16:44:09 +01:00
WorkingDirectory=__INSTALL_DIR__/
2021-08-30 10:39:04 +02:00
Environment="PATH=__ENV_PATH__"
2023-03-14 16:52:36 +01:00
Environment="THELOUNGE_HOME=__DATA_DIR__/"
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 15:16:17 +02:00
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