summaryrefslogtreecommitdiff
blob: 27fc4e827df0e478e3df34229cedcbe219e7ed31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[Unit]
Description=Push daemon for Nextcloud clients
After=mysqld.service
After=redis.service

[Service]
Type=simple
Environment=NOTIFY_PUSH_NEXTCLOUD_CONFIGFILE=
EnvironmentFile=-/etc/conf.d/nextcloud-notify_push
ExecStart=/usr/bin/nextcloud-notify_push $NOTIFY_PUSH_NEXTCLOUD_CONFIGFILE
Restart=on-failure

# Adjust user/group to match Nextcloud configuration.
# E.g. make sure that User is able to access NOTIFY_PUSH_NEXTCLOUD_CONFIGFILE
# when used; make sure that webserver is in Group when using sockets
User=nobody
Group=nobody

[Install]
WantedBy=multi-user.target