Add initial configuration files and scripts for NextCloud setup
This commit is contained in:
10
scripts/uninstall-launchd-retrust.sh
Executable file
10
scripts/uninstall-launchd-retrust.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
LABEL="com.nextcloud.collabora.retrust"
|
||||
PLIST_PATH="$HOME/Library/LaunchAgents/$LABEL.plist"
|
||||
|
||||
launchctl bootout "gui/$(id -u)/$LABEL" >/dev/null 2>&1 || true
|
||||
rm -f "$PLIST_PATH"
|
||||
|
||||
echo "Uninstalled launchd job: $LABEL"
|
||||
Reference in New Issue
Block a user