diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-12-21 19:57:51 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-12-21 19:57:51 +0000 |
commit | fe3d938433735c9b681b7e72296a5ae70fd2a7e9 (patch) | |
tree | 7ec2937cecc4be47ff9ab102db046946216609ea /www-apps/nextcloud-notify_push/files/nextcloud-notify_push.service-r1 | |
parent | d8e7aaf1b90b28ec354e7854abea07d53644e754 (diff) |
gentoo auto-resync : 21:12:2023 - 19:57:50
Diffstat (limited to 'www-apps/nextcloud-notify_push/files/nextcloud-notify_push.service-r1')
-rw-r--r-- | www-apps/nextcloud-notify_push/files/nextcloud-notify_push.service-r1 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/www-apps/nextcloud-notify_push/files/nextcloud-notify_push.service-r1 b/www-apps/nextcloud-notify_push/files/nextcloud-notify_push.service-r1 new file mode 100644 index 000000000000..804d3b5034f6 --- /dev/null +++ b/www-apps/nextcloud-notify_push/files/nextcloud-notify_push.service-r1 @@ -0,0 +1,20 @@ +[Unit] +Description=Push daemon for Nextcloud clients +After=mysqld.service +After=redis.service + +[Service] +Type=simple +Environment=NOTIFY_PUSH_NEXTCLOUD_CONFIGFILE= +EnvironmentFile=-/etc/systemd/system/nextcloud-notify_push.d/00gentoo.conf +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 |