1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00
This commit is contained in:
Kayou 2024-08-27 11:48:44 +02:00 committed by GitHub
parent 454e9f55bb
commit cbed1ef727
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 5 additions and 5 deletions

View file

@ -79,7 +79,7 @@ then
ynh_add_systemd_config --service="${app}-notify-push"
count=0
while ! exec_occ background:cron && [[ $count -lt 30 ]]
while ! ynh_exec_as "$app" php${phpversion} --define apc.enable_cli=1 $install_dir/cron.php && [[ $count -lt 30 ]]
do
sleep 1
count=$((count + 1))

View file

@ -142,7 +142,7 @@ set__enable_notify_push() {
ynh_add_systemd_config --service="${app}-notify-push"
count=0
while ! exec_occ background:cron && [[ $count -lt 30 ]]
while ! ynh_exec_as "$app" php${phpversion} --define apc.enable_cli=1 $install_dir/cron.php && [[ $count -lt 30 ]]
do
sleep 1
count=$((count + 1))

View file

@ -300,7 +300,7 @@ ynh_add_fail2ban_config --logpath="/var/log/$app/nextcloud.log" --failregex="^.*
if [ $enable_notify_push -eq 1 ]
then
count=0
while ! exec_occ background:cron && [[ $count -lt 30 ]]
while ! ynh_exec_as "$app" php${phpversion} --define apc.enable_cli=1 $install_dir/cron.php && [[ $count -lt 30 ]]
do
sleep 1
count=$((count + 1))

View file

@ -163,7 +163,7 @@ exec_occ() {
if [ $enable_notify_push -eq 1 ]
then
count=0
while ! exec_occ background:cron && [[ $count -lt 30 ]]
while ! ynh_exec_as "$app" php${phpversion} --define apc.enable_cli=1 $install_dir/cron.php && [[ $count -lt 30 ]]
do
sleep 1
count=$((count + 1))

View file

@ -444,7 +444,7 @@ ynh_add_fail2ban_config --logpath="/var/log/$app/nextcloud.log" --failregex="^.*
if [ $enable_notify_push -eq 1 ]
then
count=0
while ! exec_occ background:cron && [[ $count -lt 30 ]]
while ! ynh_exec_as "$app" php${phpversion} --define apc.enable_cli=1 $install_dir/cron.php && [[ $count -lt 30 ]]
do
sleep 1
count=$((count + 1))