mirror of
https://github.com/YunoHost-Apps/terraforming-mars_ynh.git
synced 2024-09-03 20:36:05 +02:00
fix service name
This commit is contained in:
parent
bfebc43f61
commit
ef27f93784
4 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
[Unit]
|
||||
Description=Jellyseer Service
|
||||
Description=Terraforming-Mars Service
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
|
||||
|
|
|
@ -96,7 +96,7 @@ ynh_use_logrotate
|
|||
#=================================================
|
||||
ynh_script_progression --message="Integrating service in YunoHost..."
|
||||
|
||||
yunohost service add $app --description=Jellyseer Service --log=/var/log/$app/$app.log
|
||||
yunohost service add $app --description="Terraforming-Mars Service" --log=/var/log/$app/$app.log
|
||||
|
||||
#=================================================
|
||||
# START SYSTEMD SERVICE
|
||||
|
|
|
@ -29,7 +29,7 @@ ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
|||
ynh_restore_file --origin_path="/etc/systemd/system/$app.service"
|
||||
systemctl enable $app.service --quiet
|
||||
|
||||
yunohost service add $app --description="Jellyseer Service" --log="/var/log/$app/$app.log"
|
||||
yunohost service add $app --description="Terraforming-Mars Service" --log="/var/log/$app/$app.log"
|
||||
|
||||
mkdir -p "/var/log/$app"
|
||||
touch "/var/log/$app/$app.log"
|
||||
|
|
|
@ -65,7 +65,7 @@ ynh_add_nginx_config
|
|||
|
||||
ynh_add_systemd_config
|
||||
|
||||
yunohost service add $app --description="Jellyseer Service" --log="/var/log/$app/$app.log"
|
||||
yunohost service add $app --description="Terraforming-Mars Service" --log="/var/log/$app/$app.log"
|
||||
|
||||
ynh_use_logrotate --non-append
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue