mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-03 03:02:13 +00:00
More general scripts for different install directories
This commit is contained in:
1 parent
5ddbeba91c
commit
f2e1604a2a
23 files changed
+285
-32
No files matched your search
+12
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user