upgpkg: motion-git 4.6.0.r11.629b3ba-1

harden systemd service
This commit is contained in:
2024-05-19 14:01:17 +02:00
parent 1b847bcf83
commit d72844e4af
3 changed files with 19 additions and 8 deletions

View File

@@ -8,5 +8,16 @@ ExecStart=/usr/bin/motion -n
Type=simple
StandardError=null
ProtectSystem=strict
ProtectHome=true
PrivateTmp=true
PrivateDevices=true
ProtectKernelTunables=true
ProtectControlGroups=true
NoNewPrivileges=true
MemoryDenyWriteExecute=true
LockPersonality=true
ProtectHostname=true
[Install]
WantedBy=multi-user.target