Created Systemd Unit for haste server (markdown)

Ashex1 2014-01-17 08:25:52 -08:00
parent 6de4415fa5
commit a4f1620dc6
1 changed files with 10 additions and 0 deletions

@ -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