summarylogtreecommitdiffstats
path: root/motion.service
blob: 1d35f4d217e88a126f45adb5514ea21d77cf987a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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