mirror of
https://github.com/harness/drone.git
synced 2025-05-12 06:59:54 +08:00
8 lines
138 B
Bash
8 lines
138 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
if [ "$1" -eq 0 ] ; then
|
|
echo Stopping Drone
|
|
systemctl --no-reload disable drone || :
|
|
systemctl stop drone || :
|
|
fi |