-
Notifications
You must be signed in to change notification settings - Fork 144
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
Add a poweroff button #79
Comments
I think this sounds like feature creep. Why does a webinterface for mpd need to be able to shut down your whole device? What does any of this have to do with the "lifetime of the filesystem"? Ympd is also not exclusive to the raspberry pi, but probably runs on everything that's POSIX compatible. |
Every (POSIX compatible) system on which ympd is running on has to be shut down eventually. And when you run a filesystem that does not always sync will be in dirty state or at the worst will show data loss when the power is cut off abruptly. I think a project like this could offer a solution for this with a config option. Would not be a big deal. |
Hmm, "Every (POSIX compatible) system on which ympd is running on has to be shut down eventually" isn't this the case with all software? By this logic for example web browser should have shutdown button as well, right? |
If such a feature had indeed a place in a media server, I'd expect to see it in |
Hi,
First of all: great project! Now a feature request by me:
It would be nice if you could implement a shutdown button to gracefully poweroff the Raspi.
Of course the system user has to be privileged but that's only a configuration issue.
Perhaps just call
/sbin/poweroff
or let the user configure the shutdown command himself (e.g.sudo /sbin/poweroff
) with an appropriate sudoers entry.That would enormously increase the lifetime of the filesystem.
What do you think?
The text was updated successfully, but these errors were encountered: