mirror of
https://github.com/Lapikud/Viido.git
synced 2026-03-23 21:24:21 +00:00
Add systemd auto start and disable debug mode on projektor server
This commit is contained in:
@@ -24,4 +24,4 @@ def set_status():
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
run(host="127.0.0.1", port=6999, debug=True)
|
run(host="127.0.0.1", port=6999, debug=False)
|
||||||
|
|||||||
9
systemd/projektor.service
Normal file
9
systemd/projektor.service
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Projektori server
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/opt/projektor/server.py
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
|
||||||
9
systemd/websockify.service
Normal file
9
systemd/websockify.service
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=websockify vnc proxy
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/bin/websockify localhost:6080 localhost:5900
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
|
||||||
Reference in New Issue
Block a user