mirror of
https://github.com/YunoHost-Apps/kresus_ynh.git
synced 2024-09-03 19:36:10 +02:00
strenghen systemd security, thanks archlinux
This commit is contained in:
parent
b780476d9d
commit
0ce4979d50
1 changed files with 8 additions and 0 deletions
|
@ -13,6 +13,14 @@ Environment=NODE_ENV=production
|
|||
Environment=HOME=__NODEPATH__
|
||||
ExecStart=__FINALPATH__/bin/kresus.js --config __FINALPATH__/config.ini
|
||||
Restart=always
|
||||
NoNewPrivileges=true
|
||||
PrivateDevices=true
|
||||
PrivateTmp=true
|
||||
ProtectHome=true
|
||||
ProtectSystem=strict
|
||||
ProtectControlGroups=yes
|
||||
ProtectKernelModules=yes
|
||||
ReadWritePaths=__FINALPATH__/config.ini __FINALPATH__/data/
|
||||
|
||||
StandardOutput=syslog
|
||||
StandardError=syslog
|
||||
|
|
Loading…
Add table
Reference in a new issue