1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/n8n_ynh.git synced 2024-09-03 19:55:52 +02:00
n8n_ynh/conf/systemd.service

17 lines
291 B
SYSTEMD
Raw Normal View History

2021-09-18 14:27:12 +02:00
[Unit]
2021-09-18 14:59:30 +02:00
Description=n8n
2021-09-18 14:27:12 +02:00
After=syslog.target network.target
[Service]
Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__/
Environment=PATH=__ENV_PATH__
Environment=NODE_ENV=production
ExecStart=__YNH_NPM__ __APP__ start
Restart=always
[Install]
WantedBy=multi-user.target