diff --git a/Systemd-Unit-for-haste-server.md b/Systemd-Unit-for-haste-server.md new file mode 100644 index 0000000..805c9a3 --- /dev/null +++ b/Systemd-Unit-for-haste-server.md @@ -0,0 +1,10 @@ + [Service] + ExecStart=/usr/bin/node /opt/haste-server/server.js + Restart=always + StandardOutput=syslog + SyslogIdentifier=hastebin + User=ahmed + WorkingDirectory=/opt/haste-server + + [Install] + WantedBy=multi-user.target \ No newline at end of file