add systemd serviece

This commit is contained in:
Ashley 2023-11-29 16:36:24 +00:00
parent b61c841996
commit ed764129f0

14
poke.service Normal file
View 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