summaryrefslogtreecommitdiff
path: root/media-video/motion/files/motion.service
blob: 559b94b6b29ae6e426d7c4f9fc830f08cf95c704 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[Unit]
Description=Motion detection daemon
After=local-fs.target network.target
Documentation=man:motion(1)

[Service]
Type=simple
ExecStart=/usr/bin/motion -n -c /etc/motion/motion.conf
StandardError=null

User=motion
Group=video

#RuntimeDirectory=motion
#RuntimeDirectoryMode=0750

WorkingDirectory=/var/lib/motion

[Install]
WantedBy=multi-user.target