mirror of
https://codeberg.org/ashley/poke
synced 2025-04-04 00:28:01 +00:00
add systemd serviece
This commit is contained in:
parent
b61c841996
commit
ed764129f0
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 New Issue
Block a user