Created Systemd Unit for haste server (markdown)
parent
6de4415fa5
commit
a4f1620dc6
|
@ -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
|
Loading…
Reference in New Issue