Created Systemd Unit for haste server (markdown)
10
Systemd-Unit-for-haste-server.md
Normal file
10
Systemd-Unit-for-haste-server.md
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user