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,2 +1,13 @@
#!/bin/bash
journalctl -u epicyon -r | grep "Sending profile update to\|a shared inbox"
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} -r | grep "Sending profile update to\|a shared inbox"