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
Éric Gaspar 68ba0a92ab v2
2023-05-02 13:43:35 +02:00

16 lines
333 B
Desktop File

[Unit]
Description=Mstream: music server
After=network.target
[Service]
Type=simple
User=__APP__
Group=__APP__
Environment=NODE_PORT=__PORT__
WorkingDirectory=__INSTALL_DIR__/
Environment="PATH=__ENV_PATH__"
ExecStart=__YNH_NODE__ __INSTALL_DIR__/mStream/cli-boot-wrapper.js
Restart=on-failure
[Install]
WantedBy=multi-user.target