Zapis obecnego stanu plików z backupu
This commit is contained in:
1 parent
e177c41fd7
commit
4736a87009
18 files changed
+5353
No files matched your search
@@ -0,0 +1,31 @@
|
||||
[Unit]
|
||||
Description=PylonisAmp
|
||||
After=network-online.target bluetooth.target sound.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=tom
|
||||
Group=tom
|
||||
WorkingDirectory=/home/tom/streamer
|
||||
ExecStart=/usr/bin/python3 /home/tom/streamer/app.py
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
SyslogIdentifier=streamer
|
||||
|
||||
# Audio
|
||||
SupplementaryGroups=audio bluetooth gpio
|
||||
|
||||
# Środowisko
|
||||
Environment=PYTHONUNBUFFERED=1
|
||||
Environment=ALSA_DEVICE=hw:sndrpihifiberry,0
|
||||
Environment=WEB_PORT=8000
|
||||
|
||||
# Pico USB CDC
|
||||
DeviceAllow=/dev/ttyACM0 rw
|
||||
DeviceAllow=/dev/ttyACM1 rw
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in new issue
Block a user