motioneye: Deploy motionEye camera software
The *motioneye* role installs motionEye on a Fedora machine using `pip`. It configures Apache to proxy for motionEye for outside (HTTPS) access. The official installation instructions and default configuration for motionEye assume it will be running as root. There is, however, no specific reason for this, as it works just fine as an unprivileged user. The only minor surprise is that the `conf_path` configuration setting must be writable, as this is where motionEye places generated configuration for `motion`. This path does not, however, have to include the `motioneye.conf` file itself, which can still be read-only.
This commit is contained in:
10
roles/motioneye/handlers/main.yml
Normal file
10
roles/motioneye/handlers/main.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
- name: process tmpfiles
|
||||
command: systemd-tmpfiles --create
|
||||
|
||||
- name: reload systemd
|
||||
command: systemctl daemon-reload
|
||||
|
||||
- name: restart motioneye
|
||||
service:
|
||||
name: motioneye
|
||||
state: restarted
|
||||
Reference in New Issue
Block a user