Files
Ansible/roles/nextcloud/templates/nextcloud_notify_push.service.j2
2022-10-09 21:41:56 +00:00

18 lines
512 B
Django/Jinja

## Managed by Ansible ##
[Unit]
Description = Push daemon for Nextcloud clients
[Service]
Environment = SOCKET_PATH={{ nextcloud_notify_push_socket }} METRICS_PORT=9206
User={{ webserver_user }}
Group={{ webserver_user }}
RuntimeDirectory=nextcloud
RuntimeDirectoryMode=0750
PIDFile=/run/nextcloud/notify_push.pid
ExecStart = {{ nextcloud_notify_push_install_dir }}/nextcloud_notify_push-{{ deb_architecture_alias }} {{ nextcloud_dir }}/config/config.php
Restart=always
[Install]
WantedBy = multi-user.target