18 lines
512 B
Django/Jinja
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
|