We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5bbc112 commit ec5681fCopy full SHA for ec5681f
utils/install_server.sh
@@ -73,6 +73,16 @@ if [ "$(id -u)" -ne 0 ] ; then
73
exit 1
74
fi
75
76
+#bail if this system is managed by systemd
77
+_pid_1_exe="$(readlink -f /proc/1/exe)"
78
+if [ "${_pid_1_exe##*/}" = systemd ]
79
+then
80
+ echo "This systems seems to use systemd."
81
+ echo "Please take a look at the provided example service unit files in this directory, and adapt and install them. Sorry!"
82
+ exit 1
83
+fi
84
+unset _pid_1_exe
85
+
86
if ! echo $REDIS_PORT | egrep -q '^[0-9]+$' ; then
87
_MANUAL_EXECUTION=true
88
#Read the redis port
0 commit comments