mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-25 18:00:30 +00:00
8 lines
No EOL
138 B
Bash
8 lines
No EOL
138 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
if [ "$1" -eq 0 ] ; then
|
|
echo Stopping Drone
|
|
systemctl --no-reload disable drone || :
|
|
systemctl stop drone || :
|
|
fi |