chore: add bootup logo and service files
This commit is contained in:
@@ -1,13 +1,15 @@
|
||||
[Unit]
|
||||
Description="Systemec Akarton Raspberry Pi Uploader Program (SARPUS) "
|
||||
Description="Systemec Akarton Raspberry Pi Uploader Program (SARPUS)"
|
||||
After=graphical.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Environment=DISPLAY=:0
|
||||
WorkingDirectory=/opt/akartontv
|
||||
ExecStartPre=/usr/bin/sleep 5
|
||||
ExecStart=/usr/bin/libreoffice --impress --show /home/systemec/Downloads/test_pres.pptx --norestore
|
||||
ExecStart=/usr/bin/libreoffice --impress --show /opt/akartontv/presentation.pptx --norestore
|
||||
ExecStop=/usr/bin/killall libreoffice
|
||||
Restart=always
|
||||
Restart=on-failure
|
||||
RestartSec=2
|
||||
|
||||
15
service-files/video.service
Normal file
15
service-files/video.service
Normal file
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description="Systemec Akarton Raspberry Pi Uploader Program (SARPUS)"
|
||||
After=graphical.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/opt/akartontv
|
||||
ExecStart=/usr/bin/vlc --loop /opt/akartontv/video.mp4 -I dummy --no-video-title
|
||||
ExecStop=/usr/bin/killall vlc
|
||||
Restart=always
|
||||
Restart=on-failure
|
||||
RestartSec=2
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Reference in New Issue
Block a user