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:
parent
b1590f230c
commit
50fa4bd83d
1 changed files with 2 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue