iankelling.org
/
git
/
distro-setup
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
c7219eb
)
fix error revealed on reboot
author
Ian Kelling
<ian@iankelling.org>
Wed, 16 Feb 2022 17:04:09 +0000
(12:04 -0500)
committer
Ian Kelling
<ian@iankelling.org>
Wed, 16 Feb 2022 17:04:09 +0000
(12:04 -0500)
mail-setup
patch
|
blob
|
history
diff --git
a/mail-setup
b/mail-setup
index 702c1d348a0d74e1a16d873a00c9adcc3c8ea4b1..4325b7a79d7c8e4913bbb14afe55ce3106ba6bed 100755
(executable)
--- a/
mail-setup
+++ b/
mail-setup
@@
-483,7
+483,10
@@
case $HOSTNAME in
;;
esac
;;
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
[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
# 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
# https://selivan.github.io/2017/12/30/systemd-serice-always-restart.html
i /etc/systemd/system/mailvpn.service <<EOF