From d0bed2f794c261dc28f11d23cbb8273fa9e3b87f Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Holcroft Date: Fri, 21 Sep 2018 15:42:56 +0200 Subject: [PATCH 1/2] Improve readme --- README.md | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4ad74d3..1dcaa96 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,28 @@ Password and other usefull information will be sent to you after installation. #### Maintainers & history ---------------- -2014: Package creation was maid by [matlink]](https://github.com/Matlink) +* 2014: Package creation was maid by [matlink]](https://github.com/Matlink) +* 2016: improved and maintained by [Moul](https://github.com/M5oul) +* 2018: full rewrite and now maintained by [Jibec](https://github.com/Jibec) -2016: improved and maintained by [Moul](https://github.com/M5oul) +**Shipped version:** 1.2.8 (source package provided by Debian) -2018: full rewrote and now maintained by [Jibec](https://github.com/Jibec) +# State of this package + +* works fine: + + * [x] install/remove/backup/remove/upgrade/multi-instance with x86_64 + +* to be confirmed + * [x] ARM support + +* to be added: + * [ ] Improve log file and add logrotate + * [ ] Improve systemd protection (see: https://github.com/YunoHost-Apps/kresus_ynh/issues/20) + +## Links + + * Report a bug about this package: https://github.com/YunoHost-Apps/mumbleserver_ynh + * Report a bug about Mumble itself: https://github.com/mumble-voip/mumble + * Mumble website: https://mumble.info + * YunoHost website: https://yunohost.org From f9abf64a16beb201d6b87ee98e2dc8b1079e6dec Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Holcroft Date: Fri, 21 Sep 2018 16:10:22 +0200 Subject: [PATCH 2/2] Improve systemd protections --- README.md | 2 +- conf/systemd.service | 7 +++++++ manifest.json | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1dcaa96..6a680e7 100644 --- a/README.md +++ b/README.md @@ -25,10 +25,10 @@ Password and other usefull information will be sent to you after installation. * to be confirmed * [x] ARM support + * [x] Improve systemd protection * to be added: * [ ] Improve log file and add logrotate - * [ ] Improve systemd protection (see: https://github.com/YunoHost-Apps/kresus_ynh/issues/20) ## Links diff --git a/conf/systemd.service b/conf/systemd.service index 7f0e148..2ccf9d4 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -10,6 +10,13 @@ Type=forking ExecStart=/usr/sbin/murmurd -ini __FINALPATH__/mumble-server.ini PIDFile=/var/run/mumble-server/__APP__.pid ExecReload=/bin/kill -s HUP $MAINPID +PrivateDevices=true +PrivateTmp=true +ProtectHome=true +ProtectSystem=strict +ProtectControlGroups=yes +ProtectKernelModules=yes +ReadWritePaths=__FINALPATH__ /var/log/mumble-server /var/run/mumble-server [Install] WantedBy=multi-user.target diff --git a/manifest.json b/manifest.json index 3f377c7..c8cb7e0 100644 --- a/manifest.json +++ b/manifest.json @@ -15,7 +15,7 @@ "requirements": { "yunohost": ">= 3.1.0" }, - "version": "1.2.8~ynh4", + "version": "1.2.8~ynh5", "multi_instance": true, "services": [ ],