# Motion Service
# Copyright (C) 2013, Olav Reinert
#
# This service definition file is for use on Linux distributions based on
# systemd.  To start Motion, run the command 'systemctl start motion.service'.
# To make Motion start automatically on every subsequent system boot, run the
# command "systemctl enable motion.service".
#
# To customize the settings in this file, copy it to /etc/systemd/system and
# modify the copy to suit your needs. systemd will automatically pick up and
# use the copy in preference to this file.
#
# To learn more about systemd, start by reading the systemd(1) man page, or go
# to the author's Wiki page at
#
#    http://www.freedesktop.org/wiki/Software/systemd/

[Unit]
Description=Motion capture
After=syslog.target network.target

[Service]
Type=forking
ExecStart=/usr/bin/motion
User=motion
Group=motion
SyslogIdentifier=motion

[Install]
WantedBy=multi-user.target
