mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-12 11:36:29 +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 |