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

Update port for systemd

This commit is contained in:
anmol26s 2021-03-01 14:01:26 +05:30
parent 32a008f53c
commit 35ddbc027d
2 changed files with 4 additions and 2 deletions

View file

@ -107,7 +107,7 @@ ynh_system_user_create --username=$app
#=================================================
ynh_script_progression --message="Configuring a systemd service..." --weight=1
ynh_add_systemd_config
ynh_add_systemd_config --service="$app" --template="systemd.service" --others_var="path domain"
#=================================================
# INTEGRATE SERVICE IN YUNOHOST
@ -141,6 +141,7 @@ python3 $final_path/epicyon.py --addaccount $email --password $password
# Set permissions to app files
chown -R $app: $final_path
chown -R $app: $path_url
#=================================================
# SETUP SSOWAT

View file

@ -118,7 +118,7 @@ ynh_system_user_create --username=$app
ynh_script_progression --message="Upgrading systemd configuration..." --weight=1
# Create a dedicated systemd config
ynh_add_systemd_config
ynh_add_systemd_config --service="$app" --template="systemd.service" --others_var="path domain"
#=================================================
@ -129,6 +129,7 @@ ynh_add_systemd_config
# Set permissions on app files
chown -R $app: $final_path
chown -R $app: $path_url
#=================================================
# INTEGRATE SERVICE IN YUNOHOST