diff --git a/littleprynter.service b/littleprynter.service new file mode 100644 index 0000000..63b816f --- /dev/null +++ b/littleprynter.service @@ -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