mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-18 08:26:45 +02: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 |