initial ansible code
This commit is contained in:
17
roles/nextcloud/templates/nextcloud_notify_push.service.j2
Normal file
17
roles/nextcloud/templates/nextcloud_notify_push.service.j2
Normal file
@@ -0,0 +1,17 @@
|
||||
## 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
|
||||
Reference in New Issue
Block a user