Attempt to install the systemd unit file

This commit is contained in:
Johannes Zellner
2018-06-06 11:27:36 +02:00
parent cbf7001a38
commit 473505d146
2 changed files with 16 additions and 1 deletions
+14
View File
@@ -0,0 +1,14 @@
[Unit]
Description=Cloudron Syslog
After=network.target
[Service]
ExecStart=/usr/bin/node index.js
WorkingDirectory=/usr/local/cloudron-syslog
Environment="NODE_ENV=production"
Restart=always
User=yellowtent
Group=yellowtent
[Install]
WantedBy=multi-user.target