websocket server by service

This commit is contained in:
2021-12-07 14:05:21 +01:00
parent 49085bcc6f
commit 58f3b7daf8
5 changed files with 26 additions and 3 deletions

11
init/nineskeletor.service Normal file
View File

@ -0,0 +1,11 @@
[Unit]
Description=Nineskeletor websocket server
After=local-fs.target network.target
[Service]
Type=simple
ExecStart=/var/www/html/nineskeletor/bin/console app:Websocket --name nineskeletor
Restart=on-watchdog
[Install]
WantedBy=multi-user.target