1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/shellinabox_ynh.git synced 2024-09-03 20:26:12 +02:00

Update install

This commit is contained in:
Éric Gaspar 2023-09-22 19:12:02 +02:00
parent fb3aba9424
commit 7101e928f7

View file

@ -26,6 +26,9 @@ ynh_script_progression --message="Adding a configuration file..." --weight=2
ynh_add_config --template="../conf/shellinabox" --destination="/etc/default/shellinabox"
chmod 400 "/etc/default/shellinabox"
chown $app:$app "/etc/default/shellinabox"
#=================================================
# SETUP SYSTEMD
#=================================================
@ -50,7 +53,7 @@ yunohost service add $app --description="Web based AJAX terminal emulator" --log
ynh_script_progression --message="Starting a systemd service..."
# Start a systemd service
ynh_systemd_action --service_name=shellinabox --action=restart --log_path="systemd"
ynh_systemd_action --service_name=$app --action=restart --log_path="systemd"
#=================================================
# END OF SCRIPT