1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/friendica_ynh.git synced 2024-09-03 18:36:14 +02:00

better comment for posterity

This commit is contained in:
OniriCorpe 2024-02-14 07:49:02 +01:00
parent b1590f230c
commit 50fa4bd83d

View file

@ -89,6 +89,8 @@ popd
# add the path to the pidfile (we can't do that using the autoinstall)
# in fact we can using 'autoinstall -f <prepared.config.php>' but i'm tired
# we definively would dig that:
# the local.config.php file is overwritten by autoinstall so it's useless
if [ -f "$install_dir/config/local.config.php" ] && ! grep -q -e "pidfile" "$install_dir/config/local.config.php"; then
ynh_replace_string --match_string="'basepath' => '$install_dir'," --replace_string="'basepath' => '$install_dir', 'pidfile' => '$install_dir/daemon.pid'," --target_file="$install_dir/config/local.config.php"
ynh_store_file_checksum --file="$install_dir/config/local.config.php"