Chris Vogel 1 anno fa
parent
commit
4daa678ca4
2 ha cambiato i file con 4 aggiunte e 19 eliminazioni
  1. 0 17
      doc/DISCLAIMER.md
  2. 4 2
      scripts/install

+ 0 - 17
doc/DISCLAIMER.md

@@ -1,17 +0,0 @@
-## support
-
-For questions about running flohmarkt on yunohost please use the [yunohost support matrix channel](https://yunohost.org/en/chat_rooms#help-and-support-chat-roo) or the [forum](https://forum.yunohost.org/t/ynh-flohmarkt-flohmarkt-as-an-app-for-yunohost/28455?u=chrichri).
-
-To get help for **flohmarkt** itself please look at its [wiki](https://codeberg.org/flohmarkt/flohmarkt/wiki), [open an issue](https://codeberg.org/flohmarkt/flohmarkt/issues) with your request or join the [IRC channel flohmarkt](https://web.libera.chat/?nick=GithubGuest?#flohmarkt) on [libera.chat](https://libera.chat/).
-
-## bugs, requesting features
-
-Please use the issue tracker at https://codeberg.org/flohmarkt/flohmarkt_ynh/issues
-
-## upstream repository
-
-The yunohost integration of **flohmarkt** is developed by the flohmarkt organization on https://codeberg.org/ .
-
-Please refer to https://codeberg.org/flohmarkt/flohmarkt_ynh/ to take part in development.
-
-More about development of **flohmarkt**s yunohost integration can be found in [DEVELOPMENT.md](DEVELOPMENT.md)

+ 4 - 2
scripts/install

@@ -102,8 +102,9 @@ yunohost service add $flohmarkt_filename --description="A decentral federated sm
 #  logfile contains possibly the secret setup URL
 ynh_script_progression --message="Setting permissions on logfile..." --weight=2
 mkdir -m755 -p "$flohmarkt_log_dir"
-touch "$flohmarkt_logfile"
-chmod 640 "$flohmarkt_logfile"
+touch "$flohmarkt_logfile"a
+chown root:$app "$flohmarkt_logfile"
+chmod 660 "$flohmarkt_logfile"
 
 # set file permissions for install dir
 ynh_script_progression --message="Setting permissions on install directory..." --weight=2
@@ -121,6 +122,7 @@ ln -s "$flohmarkt_data_dir" "$flohmarkt_sym_data_dir"
 
 # start service
 ynh_script_progression --message="Debug before starting flohmarkt..." --weight=1
+ps axuf
 ls -l $flohmarkt_logfile /bin/bash /usr/bin/bash || true
 ynh_script_progression --message="Starting flohmarkt..." --weight=10
 flohmarkt_ynh_start_service