Initial commit: Implementiere PiCopy - Automatischer USB-Kopierdienst mit Web-Interface, einschließlich Installations- und Bereitstellungsskripten sowie Systemd-Service.
This commit is contained in:
16
picopy.service
Normal file
16
picopy.service
Normal file
@@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=PiCopy – Automatischer USB-Kopierdienst
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
WorkingDirectory=/opt/picopy
|
||||
ExecStart=/opt/picopy/venv/bin/python /opt/picopy/app.py
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user