mirror of
https://github.com/YunoHost-Apps/castopod_ynh.git
synced 2024-09-03 18:16:14 +02:00
Fix
This commit is contained in:
parent
27155e88ee
commit
24eda14250
2 changed files with 1 additions and 4 deletions
|
@ -1 +1 @@
|
|||
* * * * * /usr/bin/php__PHPVERSION__ __FINALPATH__/public/index.php scheduled-activities
|
||||
* * * * * __USER__ /usr/bin/php__PHPVERSION__ __FINALPATH__/public/index.php scheduled-activities
|
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue