Add 'motion-git/' from commit '2f906abe48735948211d75765f972bd7977607a2'

git-subtree-dir: motion-git
git-subtree-mainline: 283452ec1a
git-subtree-split: 2f906abe48
This commit is contained in:
2024-06-03 20:34:08 +02:00
5 changed files with 108 additions and 0 deletions

23
motion-git/motion.service Normal file
View File

@@ -0,0 +1,23 @@
[Unit]
Description=Motion daemon
After=local-fs.target network.target
[Service]
User=motion
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