We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 879ad71 commit 53b9cf2Copy full SHA for 53b9cf2
usr/libexec/helper-scripts/systemd-notify.bsh
@@ -0,0 +1,19 @@
1
+#!/bin/bash
2
+
3
+## Copyright (C) 2025 - 2025 ENCRYPTED SUPPORT LLC <[email protected]>
4
+## See the file COPYING for copying conditions.
5
6
+if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
7
+ set -o errexit
8
+ set -o nounset
9
+ set -o errtrace
10
+ set -o pipefail
11
+fi
12
13
+if [ "${NOTIFY_SOCKET-}" = "" ]; then
14
+ ## Support manual run from command line.
15
+ ## I.e. when run not through systemd unit.
16
+ systemd_notify="true 'INFO: skip because NOTIFY_SOCKET unset. Probably run manually. SKIP: systemd-notify"
17
+else
18
+ systemd_notify=systemd-notify
19
0 commit comments