mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2025-02-09 08:28:50 +01:00
MycroftOS: Migrate splash updates into systemd drop-in files
This for better management and in preperation for easy BAR update
This commit is contained in:
parent
d4e48a0db7
commit
00e090edc5
@ -10,7 +10,6 @@ ConditionPathExists=/etc/firstboot
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStartPre=/bin/psplash-write "MSG Preparing for first boot"
|
||||
ExecStart=/usr/sbin/firstboot
|
||||
|
||||
[Install]
|
||||
|
@ -5,7 +5,6 @@ Before=avahi-daemon.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStartPre=/bin/psplash-write "MSG Setting up hostname"
|
||||
ExecStart=/bin/sh -c "hostnamectl set-hostname MycroftOS-`sed 's/://g' /sys/class/net/eth0/address | tail -c 7`"
|
||||
|
||||
[Install]
|
||||
|
@ -6,8 +6,6 @@ After=mycroft.service
|
||||
[Service]
|
||||
User=mycroft
|
||||
WorkingDirectory=/home/mycroft
|
||||
ExecStartPre=/bin/psplash-write "MSG Starting Mycroft A.I. audio service"
|
||||
ExecStartPre=/bin/sleep 2
|
||||
ExecStart=mycroft-audio
|
||||
StandardOutput=file:/var/log/mycroft/audio.log
|
||||
StandardError=file:/var/log/mycroft/audio.error.log
|
||||
|
@ -7,8 +7,6 @@ After=mycroft-messagebus.service
|
||||
[Service]
|
||||
User=mycroft
|
||||
WorkingDirectory=/home/mycroft
|
||||
ExecStartPre=/bin/psplash-write "MSG Starting Mycroft A.I. enclosure service"
|
||||
ExecStartPre=/bin/sleep 2
|
||||
ExecStart=mycroft-enclosure-client
|
||||
StandardOutput=file:/var/log/mycroft/enclosure.log
|
||||
StandardError=file:/var/log/mycroft/enclosure.error.log
|
||||
|
@ -6,8 +6,6 @@ After=mycroft.service
|
||||
[Service]
|
||||
User=mycroft
|
||||
WorkingDirectory=/home/mycroft
|
||||
ExecStartPre=/bin/psplash-write "MSG Starting Mycroft A.I. messagebus service"
|
||||
ExecStartPre=/bin/sleep 2
|
||||
ExecStart=mycroft-messagebus
|
||||
StandardOutput=file:/var/log/mycroft/bus.log
|
||||
StandardError=file:/var/log/mycroft/bus.error.log
|
||||
|
@ -6,8 +6,6 @@ After=mycroft.service
|
||||
[Service]
|
||||
User=mycroft
|
||||
WorkingDirectory=/home/mycroft
|
||||
ExecStartPre=/bin/psplash-write "MSG Starting Mycroft A.I. skills service"
|
||||
ExecStartPre=/bin/sleep 2
|
||||
ExecStart=mycroft-skills
|
||||
StandardOutput=file:/var/log/mycroft/skills.log
|
||||
StandardError=file:/var/log/mycroft/skills.error.log
|
||||
|
@ -6,8 +6,6 @@ After=mycroft.service
|
||||
[Service]
|
||||
User=mycroft
|
||||
WorkingDirectory=/home/mycroft
|
||||
ExecStartPre=/bin/psplash-write "MSG Starting Mycroft A.I. voice service"
|
||||
ExecStartPre=/bin/sleep 2
|
||||
ExecStart=mycroft-speech-client
|
||||
StandardOutput=file:/var/log/mycroft/voice.log
|
||||
StandardError=file:/var/log/mycroft/voice.error.log
|
||||
|
@ -6,8 +6,6 @@ After=pulseaudio.service
|
||||
User=mycroft
|
||||
WorkingDirectory=/home/mycroft
|
||||
Type=oneshot
|
||||
ExecStartPre=/bin/psplash-write "MSG Starting Mycroft A.I. software stack"
|
||||
ExecStartPre=/bin/sleep 2
|
||||
ExecStart=/bin/true
|
||||
RemainAfterExit=yes
|
||||
|
||||
|
@ -8,7 +8,6 @@ Before=sysinit.target shutdown.target
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStartPre=/bin/psplash-write "MSG Preparing system"
|
||||
ExecStart=/usr/sbin/prepare_system
|
||||
|
||||
[Install]
|
||||
|
@ -5,9 +5,7 @@ After=alsa-restore.service
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStartPre=/bin/psplash-write "MSG Preparing respeaker configuration"
|
||||
ExecStart=/usr/bin/seeed-voicecard
|
||||
User=root
|
||||
|
||||
[Install]
|
||||
WantedBy=sysinit.target
|
||||
|
@ -6,7 +6,6 @@ After=network.target time-sync.target sound.target avahi-daemon.service
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=-/etc/snapcast/snapclient
|
||||
ExecStartPre=/bin/psplash-write "MSG Starting Snapcast client"
|
||||
ExecStart=/usr/bin/snapclient $SNAPCLIENT_OPTS
|
||||
# very noisy on stdout
|
||||
StandardOutput=null
|
||||
|
@ -6,7 +6,6 @@ After=network.target time-sync.target avahi-daemon.service
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=-/etc/snapcast/snapserver
|
||||
ExecStartPre=/bin/psplash-write "MSG Starting Snapcast server"
|
||||
ExecStart=/usr/bin/snapserver $SNAPSERVER_OPTS
|
||||
Restart=on-failure
|
||||
|
||||
|
@ -9,7 +9,6 @@ After=pulseaudio.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStartPre=/bin/psplash-write "MSG Starting Spotify connect"
|
||||
ExecStart=/usr/bin/spotifyd --no-daemon
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
@ -0,0 +1,2 @@
|
||||
[Service]
|
||||
ExecStartPre=-/bin/psplash-write "MSG Preparing for first boot"
|
@ -0,0 +1,2 @@
|
||||
[Service]
|
||||
ExecStartPre=-/bin/psplash-write "MSG Setting up hostname"
|
@ -0,0 +1,3 @@
|
||||
[Service]
|
||||
ExecStartPre=-/bin/psplash-write "MSG Starting Mycroft A.I. audio service"
|
||||
ExecStartPre=-/bin/sleep 2
|
@ -0,0 +1,3 @@
|
||||
[Service]
|
||||
ExecStartPre=-/bin/psplash-write "MSG Starting Mycroft A.I. enclosure service"
|
||||
ExecStartPre=-/bin/sleep 2
|
@ -0,0 +1,3 @@
|
||||
[Service]
|
||||
ExecStartPre=-/bin/psplash-write "MSG Starting Mycroft A.I. messagebus service"
|
||||
ExecStartPre=-/bin/sleep 2
|
@ -0,0 +1,3 @@
|
||||
[Service]
|
||||
ExecStartPre=-/bin/psplash-write "MSG Starting Mycroft A.I. skills service"
|
||||
ExecStartPre=-/bin/sleep 2
|
@ -0,0 +1,3 @@
|
||||
[Service]
|
||||
ExecStartPre=-/bin/psplash-write "MSG Starting Mycroft A.I. voice service"
|
||||
ExecStartPre=-/bin/sleep 2
|
@ -0,0 +1,3 @@
|
||||
[Service]
|
||||
ExecStartPre=-/bin/psplash-write "MSG Starting Mycroft A.I. software stack"
|
||||
ExecStartPre=-/bin/sleep 2
|
@ -0,0 +1,2 @@
|
||||
[Service]
|
||||
ExecStartPre=-/bin/psplash-write "MSG Preparing system"
|
@ -0,0 +1,2 @@
|
||||
[Service]
|
||||
ExecStartPre=-/bin/psplash-write "MSG Preparing respeaker configuration"
|
@ -0,0 +1,2 @@
|
||||
[Service]
|
||||
ExecStartPre=-/bin/psplash-write "MSG Starting Snapcast client"
|
@ -0,0 +1,2 @@
|
||||
[Service]
|
||||
ExecStartPre=-/bin/psplash-write "MSG Starting Snapcast server"
|
@ -0,0 +1,2 @@
|
||||
[Service]
|
||||
ExecStartPre=-/bin/psplash-write "MSG Starting Spotify connect"
|
Loading…
x
Reference in New Issue
Block a user