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:
parent
d0bed2f794
commit
f9abf64a16
3 changed files with 9 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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": [
|
||||||
],
|
],
|
||||||
|
|
Loading…
Add table
Reference in a new issue