1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/castopod_ynh.git synced 2024-09-03 18:16:14 +02:00
This commit is contained in:
ericgaspar 2021-04-10 15:12:04 +02:00
parent 27155e88ee
commit 24eda14250
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 1 additions and 4 deletions

View file

@ -1 +1 @@
* * * * * /usr/bin/php__PHPVERSION__ __FINALPATH__/public/index.php scheduled-activities
* * * * * __USER__ /usr/bin/php__PHPVERSION__ __FINALPATH__/public/index.php scheduled-activities

View file

@ -104,8 +104,6 @@ ynh_add_config --template="../conf/.env.example" --destination="$final_path/.env
ynh_script_progression --message="Setuping a cron..."
ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app"
chown root: "/etc/cron.d/$app"
chmod 644 "/etc/cron.d/$app"
#=================================================
# GENERIC FINALIZATION
@ -115,7 +113,6 @@ chmod 644 "/etc/cron.d/$app"
# Set permissions to app files
chown -R $app:$app $final_path
#chmod o-rwx $final_path
chmod 600 $final_path/.env
#=================================================