From a4f1620dc6d4f520b9bdf0ca4f5bf386c1b4e853 Mon Sep 17 00:00:00 2001 From: Ashex1 Date: Fri, 17 Jan 2014 08:25:52 -0800 Subject: [PATCH] Created Systemd Unit for haste server (markdown) --- Systemd-Unit-for-haste-server.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Systemd-Unit-for-haste-server.md 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