Files
storyforge/deploy/storyforge-web-v4.service.example

15 lines
361 B
Plaintext

[Unit]
Description=StoryForge Web V4 Static Service
After=network.target
[Service]
User=ubuntu
Group=ubuntu
WorkingDirectory=/home/ubuntu/storyforge/web/storyforge-web-v4
ExecStart=/usr/bin/python3 -m http.server 19191 --bind 127.0.0.1 --directory /home/ubuntu/storyforge/web/storyforge-web-v4
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target