%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /snap/lxd/current/commands/
Upload File :
Create Path :
Current File : //snap/lxd/current/commands/daemon.reload

#!/bin/sh
set -eu

# Re-exec outside of apparmor confinement
if [ -d /sys/kernel/security/apparmor ] && [ "$(cat /proc/self/attr/current)" != "unconfined" ]; then
    exec aa-exec -p unconfined -- "$0" "$@"
fi

echo reload > "${SNAP_COMMON}/state"
PID=$(cat "${SNAP_COMMON}/lxd.pid")
/bin/kill "$PID"

Zerion Mini Shell 1.0