1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/misskey_ynh.git synced 2024-09-03 19:46:03 +02:00
This commit is contained in:
ericgaspar 2021-05-15 18:05:32 +02:00
parent 3d89521b90
commit a4906b0993
2 changed files with 1 additions and 4 deletions

View file

@ -6,7 +6,7 @@ Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__
Environment="PATH=__ENV_PATH__"
Environment=__YNH_NODE_LOAD_PATH__
Environment="NODE_ENV=production"
ExecStart=__YNH_NPM__ start
TimeoutSec=60

View file

@ -131,9 +131,6 @@ ynh_system_user_create --username=$app
#=================================================
ynh_script_progression --message="Configuring a systemd service..."
ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --target_file="../conf/systemd.service"
ynh_replace_string --match_string="__YNH_NPM__" --replace_string="$ynh_npm" --target_file="../conf/systemd.service"
# Create a dedicated systemd config
ynh_add_systemd_config