chore: make the idea more robust
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user