Sfoglia il codice sorgente

add a systemd service definition for pixl

Lucas Stadler 11 anni fa
parent
commit
74ea72059a
1 ha cambiato i file con 11 aggiunte e 0 eliminazioni
  1. 11 0
      js/pixl/pixl.service

+ 11 - 0
js/pixl/pixl.service

@ -0,0 +1,11 @@
1
[Unit]
2
Description=Draw pixls together!
3
4
[Service]
5
User=pixl
6
Group=pixl
7
ExecStart=node server.js
8
WorkingDirectory=/srv/http/pixl
9
10
[Install]
11
WantedBy=multi-user.target