Skip to content

Commit

Permalink
Run moonraker after armbian-firstrun
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasbakken committed Jun 5, 2024
1 parent f24b043 commit c3aff46
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions userpatches/overlay/install_components/post_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ post_build() {
# armbian-firstrun needs to be type=oneshot in order to the autodisable to wait for it.
sed -i 's/Type=.*/Type=oneshot/' /lib/systemd/system/armbian-firstrun.service

# Start moonraker only after armbian-firstrun
sed -i 's/After=.*/After=network-online.target armbian-firstrun.service/' /etc/systemd/system/moonraker.service

# Enable SSH service discovery
cp /usr/share/doc/avahi-daemon/examples/ssh.service /etc/avahi/services/

Expand Down

0 comments on commit c3aff46

Please sign in to comment.