YunoHost-Apps / mumbleserver_ynh

Mumble server package for YunoHost
https://mumble.info
GNU Affero General Public License v3.0
10 stars 5 forks source link

Ensure runtime directory exists before starting #25

Closed julienmalik closed 5 years ago

julienmalik commented 5 years ago

On some systems (lxd containers for example) /var/run is mounted as tmpfs. Since the /var/run/mumble-server directory is only created at install time, it does not survive a reboot. This prevents mumble to start after a reboot.

Jibec commented 5 years ago

well done, I didn't know this feature and recently used this: https://github.com/YunoHost-Apps/weblate_ynh/blob/master/conf/celery-weblate.service#L12

And there is more useful commands! Thanks! https://www.freedesktop.org/software/systemd/man/systemd.exec.html#RuntimeDirectory=

Unfortunatly, this PR has to be open again in the testing branch... can you please fix it?

Jibec commented 5 years ago

closed, in favor of https://github.com/YunoHost-Apps/mumbleserver_ynh/pull/27