mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-13 00:58:08 +01:00
add systemd serviece
This commit is contained in:
parent
b61c841996
commit
ed764129f0
1 changed files with 14 additions and 0 deletions
14
poke.service
Normal file
14
poke.service
Normal file
|
@ -0,0 +1,14 @@
|
|||
[Unit]
|
||||
Description=Poke
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=node server.js
|
||||
WorkingDirectory=[YOUR DIR HERE]
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
|
||||
|
Loading…
Reference in a new issue