Add 'motion-git/' from commit '2f906abe48735948211d75765f972bd7977607a2'
git-subtree-dir: motion-git git-subtree-mainline:283452ec1a
git-subtree-split:2f906abe48
This commit is contained in:
23
motion-git/motion.service
Normal file
23
motion-git/motion.service
Normal 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
|
Reference in New Issue
Block a user