fix error revealed on reboot
authorIan Kelling <ian@iankelling.org>
Wed, 16 Feb 2022 17:04:09 +0000 (12:04 -0500)
committerIan Kelling <ian@iankelling.org>
Wed, 16 Feb 2022 17:04:09 +0000 (12:04 -0500)
mail-setup

index 702c1d348a0d74e1a16d873a00c9adcc3c8ea4b1..4325b7a79d7c8e4913bbb14afe55ce3106ba6bed 100755 (executable)
@@ -483,7 +483,10 @@ case $HOSTNAME in
     ;;
 esac
 
-i /etc/systemd/system/wg-quick@wgmail.service.d/override.conf <<EOF
+case $HOSTNAME in
+  li) : ;;
+  *)
+    i /etc/systemd/system/wg-quick@wgmail.service.d/override.conf <<EOF
 [Unit]
 Requires=mailnn.service
 After=network.target mailnn.service
@@ -495,6 +498,9 @@ PrivateNetwork=true
 # i dont think we need any of these, but it doesnt hurt to stay consistent
 BindPaths=$bindpaths
 EOF
+    ;;
+esac
+
 
 # https://selivan.github.io/2017/12/30/systemd-serice-always-restart.html
 i /etc/systemd/system/mailvpn.service <<EOF