Skip to content

Commit db51f47

Browse files
committed
move start of push service after configuration is complete
Signed-off-by: MagelanM <magellanm@posteo.de>
1 parent e0a2053 commit db51f47

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

bin/ncp/CONFIG/nc-init.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ EOF
180180
if ! is_more_recent_than "21.0.0" "${ncver}"; then
181181
ncc app:install notify_push
182182
ncc app:enable notify_push
183-
test -f /.ncp-image || start_notify_push # don't start during build
184183
fi
185184

186185
# previews
@@ -216,6 +215,9 @@ EOF
216215
test -f /.ncp-image || bash /usr/local/bin/nextcloud-domain.sh
217216
}
218217

218+
# start notify_push after NC is fully configured
219+
test -f /.ncp-image || start_notify_push # don't start during build
220+
219221
# dettach mysql during the build
220222
if [[ "${db_pid}" != "" ]]; then
221223
echo "Shutting down mariaDB (${db_pid})"

0 commit comments

Comments
 (0)