Add systemd service

This commit is contained in:
nono committed 2025-10-17 17:33:37 +02:00
1 parent 8ecb93656c
commit 34bffe93af
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