1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mumbleserver_ynh.git synced 2024-09-03 19:46:03 +02:00

Improve systemd protections

This commit is contained in:
Jean-Baptiste Holcroft 2018-09-21 16:10:22 +02:00
parent d0bed2f794
commit f9abf64a16
3 changed files with 9 additions and 2 deletions

View file

@ -25,10 +25,10 @@ Password and other usefull information will be sent to you after installation.
* to be confirmed * to be confirmed
* [x] ARM support * [x] ARM support
* [x] Improve systemd protection
* to be added: * to be added:
* [ ] Improve log file and add logrotate * [ ] Improve log file and add logrotate
* [ ] Improve systemd protection (see: https://github.com/YunoHost-Apps/kresus_ynh/issues/20)
## Links ## Links

View file

@ -10,6 +10,13 @@ Type=forking
ExecStart=/usr/sbin/murmurd -ini __FINALPATH__/mumble-server.ini ExecStart=/usr/sbin/murmurd -ini __FINALPATH__/mumble-server.ini
PIDFile=/var/run/mumble-server/__APP__.pid PIDFile=/var/run/mumble-server/__APP__.pid
ExecReload=/bin/kill -s HUP $MAINPID 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] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

View file

@ -15,7 +15,7 @@
"requirements": { "requirements": {
"yunohost": ">= 3.1.0" "yunohost": ">= 3.1.0"
}, },
"version": "1.2.8~ynh4", "version": "1.2.8~ynh5",
"multi_instance": true, "multi_instance": true,
"services": [ "services": [
], ],