Update 'scripts/install'
This commit is contained in:
parent
455624fbb7
commit
3ac352ea15
|
@ -31,6 +31,7 @@ pushd "$install_dir"
|
|||
public_ip4="$(curl -s ip.yunohost.org)" || true
|
||||
ynh_app_setting_set --app=$app --key=public_ip4 --value=$public_ip4
|
||||
./smp-server init --no-password --ip $public_ip4 -y
|
||||
#./ftp-server init -l -p /srv/xftp "$@"
|
||||
popd
|
||||
|
||||
fingerprint=$(cat /etc/opt/simplex/fingerprint)
|
||||
|
@ -55,7 +56,7 @@ ynh_script_progression --message="Starting a systemd service..." --weight=1
|
|||
|
||||
# Start a systemd service
|
||||
ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log"
|
||||
ynh_systemd_action --service_name="xftp" --template=../conf/xftp.systemd.service --action="start" #--log_path="/var/log/$app/$app.log"
|
||||
#ynh_systemd_action --service_name="xftp" --template=../conf/xftp.systemd.service --action="start" #--log_path="/var/log/$app/$app.log"
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
|
|
Loading…
Reference in a new issue