chore: make the idea more robust
Some checks failed
Cross-Compile Binaries / compile-linux (push) Has been cancelled
Cross-Compile Binaries / compile-windows (push) Has been cancelled

This commit is contained in:
2026-01-14 16:21:48 +01:00
parent 7ac413f682
commit 22b3557fd0
4 changed files with 8 additions and 7 deletions

View File

@@ -7,7 +7,7 @@ Type=simple
Environment=DISPLAY=:0
WorkingDirectory=/opt/akartontv
ExecStartPre=/usr/bin/sleep 3
ExecStart=/bin/sh -c 'exec /usr/bin/libreoffice --impress --show --norestore $(find /opt/akartontv/ \( -name "*.pptx" -o -name "*.odp" \))'
ExecStart=/bin/sh -c 'exec /usr/bin/libreoffice --impress --show --norestore $(find /opt/akartontv/media \( -name "*.pptx" -o -name "*.odp" \))'
ExecStop=/usr/bin/killall libreoffice
Restart=always
Restart=on-failure

View File

@@ -7,7 +7,7 @@ Type=simple
Environment=DISPLAY=:0
WorkingDirectory=/opt/akartontv
ExecStartPre=/usr/bin/sleep 3
ExecStart=/bin/sh -c 'exec /usr/bin/vlc --fullscreen --loop --no-video-title --video-on-top --no-qt-fs-controller --qt-continue=0 $(find /opt/akartontv/ \( -name "*.mp4" -o -name "*.mkv" -o -name "*.mov" -o -name "*.webm" \))'
ExecStart=/bin/sh -c 'exec /usr/bin/vlc --fullscreen --loop --no-video-title --video-on-top --no-qt-fs-controller --qt-continue=0 $(find /opt/akartontv/media \( -name "*.mp4" -o -name "*.mkv" -o -name "*.mov" -o -name "*.webm" \))'
ExecStop=/usr/bin/killall vlc
Restart=always
Restart=on-failure