github.com/pquerna/agent@v2.1.8+incompatible/packaging/linux/scripts/after-remove.sh (about) 1 # Remove the system service we installed 2 if command -v systemctl > /dev/null; then 3 rm -f /lib/systemd/system/buildkite-agent.service 4 elif [ -d /etc/init ]; then 5 rm -f /etc/init/buildkite-agent.conf 6 elif [ -d /etc/init.d ]; then 7 rm -f /etc/init.d/buildkite-agent 8 fi