Build and Release / build-and-test (amd64, alpine) (push) Successful in 20s
Build and Release / build-and-test (arm64, alpine) (push) Successful in 42s
Build and Release / build-and-test (amd64, ubuntu) (push) Successful in 27s
Build and Release / build-and-test (arm64, ubuntu) (push) Successful in 9s
Build and Release / release (push) Has been skipped
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
16 lines
338 B
Bash
16 lines
338 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
# Stop service before removal
|
|
if [ -d /run/systemd/system ]; then
|
|
if systemctl is-active xxxig-proxy.service >/dev/null 2>&1; then
|
|
systemctl stop xxxig-proxy.service
|
|
fi
|
|
|
|
if systemctl is-enabled xxxig-proxy.service >/dev/null 2>&1; then
|
|
systemctl disable xxxig-proxy.service
|
|
fi
|
|
fi
|
|
|
|
exit 0
|