Create service file.
This commit is contained in:
parent
e7344fe45c
commit
bfc5453f28
1 changed files with 9 additions and 0 deletions
9
server/ghost-writer.service
Normal file
9
server/ghost-writer.service
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Ghost Writer websocket server
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
WorkingDirectory=/server
|
||||||
|
ExecStart=node /server/dist/main.js
|
||||||
|
Restart=always
|
||||||
|
RestartSec=5
|
||||||
Loading…
Add table
Add a link
Reference in a new issue