motion_at.service 366 B

123456789101112131415161718192021
  1. [Unit]
  2. Description=Motion detection daemon for %I
  3. After=local-fs.target network.target
  4. Documentation=man:motion(1)
  5. [Service]
  6. Type=simple
  7. ExecStart=/usr/bin/motion -n -c /etc/motion/motion-%i.conf
  8. StandardError=null
  9. User=motion
  10. Group=video
  11. #RuntimeDirectory=motion
  12. #RuntimeDirectoryMode=0750
  13. WorkingDirectory=/var/lib/motion
  14. [Install]
  15. WantedBy=multi-user.target