mirror of
https://github.com/seejohnrun/haste-server.git
synced 2024-12-25 11:37:00 +00:00
Created Systemd Unit for haste server (markdown)
parent
6de4415fa5
commit
a4f1620dc6
1 changed files with 10 additions and 0 deletions
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
|
Loading…
Reference in a new issue