More general scripts for different install directories

This commit is contained in:
bashrc committed 2026-07-05 13:34:54 +01:00
1 parent 5ddbeba91c
commit f2e1604a2a
23 files changed
+285 -32

No files matched your search

+12 -1
View File
@@ -1,5 +1,16 @@
#!/bin/bash
journalctl -u epicyon | grep 'could not be' > .keyfailures.txt
dir_name="epicyon"
if [ ! -d /etc/${dir_name} ]; then
if [ -d /opt/epicyon-tor ]; then
dir_name="epicyon-tor"
elif [ -d /opt/epicyon-i2p ]; then
dir_name="epicyon-i2p"
elif [ -d /opt/epicyon-yggdrasil ]; then
dir_name="epicyon-yggdrasil"
fi
fi
journalctl -u ${dir_name} | grep 'could not be' > .keyfailures.txt
if [ ! -f .keyfailures.txt ]; then
echo 'No key failures'
else