1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/selfoss_ynh.git synced 2024-09-03 20:16:21 +02:00
This commit is contained in:
ericgaspar 2022-03-22 15:52:47 +01:00
parent e11d888cdf
commit e5acb27430
No known key found for this signature in database
GPG key ID: 574F281483054D44
8 changed files with 5 additions and 17 deletions

View file

@ -2,9 +2,7 @@
; Manifest
domain="domain.tld"
path="/path"
admin="john"
is_public=1
password="1Strong-Password"
; Checks
pkg_linter=1
setup_sub_dir=0
@ -13,7 +11,7 @@
setup_private=1
setup_public=1
upgrade=1
upgrade=1 from_commit=CommitHash
#upgrade=1 from_commit=CommitHash
backup_restore=1
multi_instance=1
change_url=1

View file

@ -1,3 +1,3 @@
[globals]
db_type=sqlite
db_file=__FINALPATH__/selfoss.db
db_file=__FINALPATH__/database.db

View file

@ -1,4 +1 @@
*/15 * * * * __APP__ /usr/bin/php__PHPVERSION__ __FINALPATH__/cliupdate.php >>/var/log/selfoss_update.log > /dev/null
#*/30 * * * * /usr/bin/curl -Ls 'http://__DOMAIN____PATH__/update' >/dev/null

View file

@ -25,7 +25,4 @@ location / {
location ~* ^/(data\/logs|data\/sqlite|config\.ini|\.ht) {
deny all;
}
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
}

View file

@ -17,8 +17,8 @@
},
"license": "AGPL-3.0-only",
"maintainer": {
"name": "John doe",
"email": "john.doe@example.com"
"name": "",
"email": ""
},
"requirements": {
"yunohost": ">= 4.3.0"

View file

@ -97,7 +97,7 @@ ynh_add_fpm_config --phpversion=$phpversion --usage=$fpm_usage --footprint=$fpm_
#=================================================
ynh_script_progression --message="Updating a configuration file..." --weight=1
ynh_add_config --template="../conf/defaults.ini" --destination="$final_path/config.ini"
ynh_add_config --template="../conf/config.ini" --destination="$final_path/config.ini"
chmod 400 "$final_path/config.ini"
chown $app:$app "$final_path/config.ini"

View file

@ -1,2 +0,0 @@
*~
*.sw[op]

View file

@ -1,2 +0,0 @@
*~
*.sw[op]