morshu-server: add proper start script and systemd service

This commit is contained in:
2026-06-06 19:45:12 -05:00
parent 57b51be48e
commit c9e9b7c91e
2 changed files with 45 additions and 1 deletions
@@ -0,0 +1,15 @@
[Unit]
Description=Morshu TTS Server
After=network.target
[Service]
Type=simple
User=owen
WorkingDirectory=/home/owen/Desktop/ttstoy/morshu-server
Environment=PORT=3002
ExecStart=/usr/bin/python3 /home/owen/Desktop/ttstoy/morshu-server/server.py
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target