1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cryptpad_ynh.git synced 2024-09-03 18:26:14 +02:00

Add some protection to systemd

This commit is contained in:
ericgaspar 2021-03-23 10:43:55 +01:00
parent fdb09eab1c
commit 01dd94242f
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -12,5 +12,11 @@ Environment=NODE_ENV=production
ExecStart=__YNH_NPM__ start
Restart=always
PrivateDevices=true
ProtectControlGroups=true
ProtectHome=true
ProtectKernelTunables=true
ProtectSystem=full
[Install]
WantedBy=multi-user.target