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
304 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
2021-09-18 19:45:19 +02:00
ExecStart=__FINALPATH__/node_modules/n8n/bin/n8n
2021-09-18 14:27:12 +02:00
Restart=always
[Install]
WantedBy=multi-user.target