Selaa lähdekoodia

add a systemd service definition for pixl

Lucas Stadler 11 vuotta sitten
vanhempi
commit
74ea72059a
1 muutettua tiedostoa jossa 11 lisäystä ja 0 poistoa
  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