diff --git a/etc/systemd/system/march.service b/etc/systemd/system/march.service index 797f32f..54374e4 100644 --- a/etc/systemd/system/march.service +++ b/etc/systemd/system/march.service @@ -1,8 +1,11 @@ [Unit] Description=March Reboot Service +After=network-online.target +Wants=network-online.target [Service] ExecStart=/root/march-reboot.sh [Install] WantedBy=multi-user.target + diff --git a/root/march-reboot.sh b/root/march-reboot.sh index 6e5c772..2eac4ec 100644 --- a/root/march-reboot.sh +++ b/root/march-reboot.sh @@ -54,7 +54,6 @@ while true; do esac done -# For some reason this fails midway maybe avoidable if I put texlive-most in own pacman command pacman -Syu --noconfirm pacman -S --noconfirm git zsh gvim wget arch-audit lightdm lightdm-webkit2-greeter xorg-server xf86-video-intel i3-gaps xorg-xbacklight xorg-xrandr i3lock-color alsa-utils pulseaudio pulseaudio-alsa pulseaudio-bluetooth playerctl pavucontrol exfat-utils udiskie blueman acpi acpid tlp compton conky rxvt-unicode networkmanager network-manager-applet networkmanager-openconnect networkmanager-openvpn stow maim openssh xdotool xclip thunderbird firefox veracrypt keepassxc evince pandoc pdfgrep adobe-source-han-sans-otc-fonts python3 python-pip ranger atool elinks ffmpegthumbnailer highlight libcaca lynx mediainfo odt2txt perl-image-exiftool poppler python-chardet transmission-cli w3m texlive-most