Add systemd service

This commit is contained in:
nono authored and n07070 committed 2026-03-30 11:05:13 +02:00
1 parent 39d0c56672
commit 67b7de11e9
1 file changed
+12
+12
View File
@@ -0,0 +1,12 @@
[Unit]
Description=LittlePrynter
After=network.target
[Service]
Type=simple
WorkingDirectory=/home/pi/littleprynter/
Environment=FLASK_APP=src/main.py
ExecStart=/home/pi/littleprynter/bin/flask run --host 0.0.0.0 --debug --no-reload
[Install]
WantedBy=multi-user.target