Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable boot on startup setting is not persistent #352

Open
dln949 opened this issue Jan 20, 2022 · 1 comment
Open

enable boot on startup setting is not persistent #352

dln949 opened this issue Jan 20, 2022 · 1 comment

Comments

@dln949
Copy link

dln949 commented Jan 20, 2022

mstream 5.9.4 installed on Ubuntu focal.

Works fine, except that the option to "enable boot on startup" is not persistent. Everytime I startup the computer, mstream thinks I never enabled that setting and I have to manually start mstream.

@aroundmyroom
Copy link

most easy way to fix that is to create a systemd startup script

this is my content

[Unit]
Description=Music Mstream Server
Documentation=Music
After=network.target

[Service]
Environment=NODE_PORT=3000
Type=simple
User=root
ExecStart=/usr/bin/node /home/mStream/cli-boot-wrapper.js
Restart=on-failure

[Install]
WantedBy=multi-user.target

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants