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.
11 lines
200 B
YAML
11 lines
200 B
YAML
- name: process tmpfiles
|
|
command: systemd-tmpfiles --create
|
|
|
|
- name: reload systemd
|
|
command: systemctl daemon-reload
|
|
|
|
- name: restart motioneye
|
|
service:
|
|
name: motioneye
|
|
state: restarted
|