mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
start notify-push after the watcher
This commit is contained in:
parent
bf4e212a13
commit
046d7b2e53
4 changed files with 4 additions and 4 deletions
|
@ -73,10 +73,10 @@ then
|
|||
armel|armhf) arch="armv7";;
|
||||
esac
|
||||
|
||||
ynh_add_systemd_config --service="${app}-notify-push"
|
||||
ynh_add_config --template="watcher.path" --destination="/etc/systemd/system/${app}-notify-push-watcher.path"
|
||||
ynh_add_systemd_config --service="${app}-notify-push-watcher" --template="watcher.service"
|
||||
systemctl enable --now ${app}-notify-push-watcher.path
|
||||
ynh_add_systemd_config --service="${app}-notify-push"
|
||||
|
||||
ynh_exec_as "$app" php${phpversion} --define apc.enable_cli=1 $install_dir/cron.php
|
||||
|
||||
|
|
|
@ -136,10 +136,10 @@ set__enable_notify_push() {
|
|||
armel|armhf) arch="armv7";;
|
||||
esac
|
||||
|
||||
ynh_add_systemd_config --service="${app}-notify-push"
|
||||
ynh_add_config --template="watcher.path" --destination="/etc/systemd/system/${app}-notify-push-watcher.path"
|
||||
ynh_add_systemd_config --service="${app}-notify-push-watcher" --template="watcher.service"
|
||||
systemctl enable --now ${app}-notify-push-watcher.path
|
||||
ynh_add_systemd_config --service="${app}-notify-push"
|
||||
|
||||
exec_occ background:cron
|
||||
|
||||
|
|
|
@ -221,10 +221,10 @@ then
|
|||
armel|armhf) arch="armv7";;
|
||||
esac
|
||||
|
||||
ynh_add_systemd_config --service="${app}-notify-push"
|
||||
ynh_add_config --template="watcher.path" --destination="/etc/systemd/system/${app}-notify-push-watcher.path"
|
||||
ynh_add_systemd_config --service="${app}-notify-push-watcher" --template="watcher.service"
|
||||
systemctl enable --now ${app}-notify-push-watcher.path
|
||||
ynh_add_systemd_config --service="${app}-notify-push"
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -406,10 +406,10 @@ then
|
|||
armel|armhf) arch="armv7";;
|
||||
esac
|
||||
|
||||
ynh_add_systemd_config --service="${app}-notify-push"
|
||||
ynh_add_config --template="watcher.path" --destination="/etc/systemd/system/${app}-notify-push-watcher.path"
|
||||
ynh_add_systemd_config --service="${app}-notify-push-watcher" --template="watcher.service"
|
||||
systemctl enable --now ${app}-notify-push-watcher.path
|
||||
ynh_add_systemd_config --service="${app}-notify-push"
|
||||
fi
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue