Adds krafttrainer.service for running as a systemd unit and expands deployment.md with step-by-step instructions for both systemd and Docker deployment. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
18 lines
355 B
Desktop File
18 lines
355 B
Desktop File
[Unit]
|
|
Description=Krafttrainer Web App
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=christoph
|
|
WorkingDirectory=/home/christoph/krafttrainer
|
|
ExecStart=/home/christoph/krafttrainer/krafttrainer
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
|
|
Environment=PORT=8090
|
|
Environment=DB_PATH=/home/christoph/krafttrainer/krafttrainer.db
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|