1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mstream_ynh.git synced 2024-09-03 19:46:17 +02:00
mstream_ynh/conf/systemd.service

17 lines
325 B
SYSTEMD
Raw Normal View History

2022-04-14 15:50:10 +02:00
[Unit]
2023-01-10 19:21:17 +01:00
Description=Mstream: music server
2022-04-14 15:50:10 +02:00
After=network.target
[Service]
Type=simple
User=__APP__
Group=__APP__
Environment=NODE_PORT=__PORT__
2023-05-02 13:43:35 +02:00
WorkingDirectory=__INSTALL_DIR__/
2022-04-14 15:50:10 +02:00
Environment="PATH=__ENV_PATH__"
2023-05-02 14:12:46 +02:00
ExecStart=__YNH_NODE__ __INSTALL_DIR__/cli-boot-wrapper.js
2022-04-14 15:50:10 +02:00
Restart=on-failure
[Install]
WantedBy=multi-user.target