Parcourir la source

change service name

Kay0u il y a 5 ans
Parent
commit
1f0ef314b7
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      scripts/install
  2. 1 1
      scripts/remove

+ 1 - 1
scripts/install

@@ -193,7 +193,7 @@ ynh_replace_string --match_string="__PHPVERSION__" --replace_string="$7.0" --tar
 ynh_script_progression --message="Configuring a systemd service..." --time --weight=1
 
 # Create a dedicated systemd config
-ynh_add_systemd_config
+ynh_add_systemd_config "ynh-piratebox"
 
 #=================================================
 # MODIFY A CONFIG FILE

+ 1 - 1
scripts/remove

@@ -59,7 +59,7 @@ fi
 ynh_script_progression --message="Stopping and removing the systemd service..." --time --weight=1
 
 # Remove the dedicated systemd config
-ynh_remove_systemd_config
+ynh_remove_systemd_config "ynh-piratebox"
 
 #=================================================
 # REMOVE DEPENDENCIES