mirror of
https://github.com/YunoHost-Apps/shellinabox_ynh.git
synced 2024-09-03 20:26:12 +02:00
parent
7101e928f7
commit
48dee229fe
1 changed files with 1 additions and 4 deletions
|
@ -26,9 +26,6 @@ ynh_script_progression --message="Adding a configuration file..." --weight=2
|
||||||
|
|
||||||
ynh_add_config --template="../conf/shellinabox" --destination="/etc/default/shellinabox"
|
ynh_add_config --template="../conf/shellinabox" --destination="/etc/default/shellinabox"
|
||||||
|
|
||||||
chmod 400 "/etc/default/shellinabox"
|
|
||||||
chown $app:$app "/etc/default/shellinabox"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP SYSTEMD
|
# SETUP SYSTEMD
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -53,7 +50,7 @@ yunohost service add $app --description="Web based AJAX terminal emulator" --log
|
||||||
ynh_script_progression --message="Starting a systemd service..."
|
ynh_script_progression --message="Starting a systemd service..."
|
||||||
|
|
||||||
# Start a systemd service
|
# Start a systemd service
|
||||||
ynh_systemd_action --service_name=$app --action=restart --log_path="systemd"
|
ynh_systemd_action --service_name=shellinabox --action=restart --log_path="systemd"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
|
|
Loading…
Reference in a new issue