summaryrefslogtreecommitdiff
blob: 66143f0e204b51da968787f27dd6e56b2b5969bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
#
# Motion OpenRC systemd service file


[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
ExecReload=/bin/kill -HUP $MAINPID

User=motion
Group=motion

UMask=007
WorkingDirectory=-/var/lib/motion


[Install]
WantedBy=multi-user.target