v0.0.1
This commit is contained in:
15
templates/n8n-package.service.j2
Normal file
15
templates/n8n-package.service.j2
Normal file
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description={{ n8n_name }} Package Service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User={{ n8n_user }}
|
||||
Group={{ n8n_group }}
|
||||
WorkingDirectory={{ n8n_home }}
|
||||
EnvironmentFile={{ n8n_home }}/.env
|
||||
ExecStart={{ n8n_package_bin }}
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user