]> WPIA git - infra.git/blob - modules/motion/files/motion.service
add: motion system from source
[infra.git] / modules / motion / files / motion.service
1 [Unit]
2 Description=Motion uWSGI app
3 After=syslog.target
4
5 [Service]
6 ExecStart=/home/motion/motion/bin/uwsgi --ini ../motion.ini
7 User=motion
8 Group=motion
9 Restart=on-failure
10 KillSignal=SIGQUIT
11 Type=notify
12 StandardError=journal
13 NotifyAccess=all
14 WorkingDirectory=/home/motion/motion
15 PrivateTmp=yes
16 PrivateDevices=yes
17 ProtectSystem=strict
18 ProtectHome=no
19 ReadOnlyPaths=/home
20 ReadWritePaths=/home/motion/motion/__pycache__/ /motion-socket