iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
various fixes
[distro-setup]
/
distro-end
diff --git
a/distro-end
b/distro-end
index 7f2f12ca453c095cf53b9027d60dcdafe76f1a24..317852291a0d21fb83764c2d7225f0c5a0f5dd66 100755
(executable)
--- a/
distro-end
+++ b/
distro-end
@@
-561,7
+561,10
@@
User=znc
WantedBy=multi-user.target
EOF
ser daemon-reload
- m sgo znc
+ # avoid restarting if possible, reconnecting to irc is annoying.
+ if [[ $(ser is-active znc) != active ]]; then
+ m sgo znc
+ fi
###### stop znc setup #####
end