pushing my local branch

This commit is contained in:
Brad
2014-06-04 14:25:38 -07:00
parent 040ef6f8ab
commit ce44ddfeca
928 changed files with 16581 additions and 277202 deletions

2
debian/drone/DEBIAN/conffiles vendored Normal file
View File

@@ -0,0 +1,2 @@
/etc/init/drone.conf
/etc/default/drone

7
debian/drone/DEBIAN/control vendored Normal file
View File

@@ -0,0 +1,7 @@
Package: drone
Version: 0.1
Section: base
Priority: optional
Architecture: amd64
Maintainer: Brad Rydzewski <brad@drone.io>
Description: Drone continuous integration server

24
debian/drone/DEBIAN/postinst vendored Executable file
View File

@@ -0,0 +1,24 @@
#!/bin/sh
set -e
case "$1" in
abort-upgrade|abort-remove|abort-deconfigure|configure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
echo "Starting drone ..."
if [ -f /etc/init/drone.conf ]; then
if pidof /usr/local/bin/droned >/dev/null; then
service drone stop || exit $?
fi
service drone start && echo "Drone started."
fi
#DEBHELPER#
exit 0

26
debian/drone/DEBIAN/prerm vendored Executable file
View File

@@ -0,0 +1,26 @@
#!/bin/sh
set -e
set -u
case "$1" in
remove|remove-in-favour|deconfigure|deconfigure-in-favour)
if [ -f /etc/init/drone.conf ]; then
echo "Stopping drone ..."
service drone stop || exit $?
echo "Drone Stopped."
fi
;;
upgrade|failed-upgrade)
;;
*)
echo "prerm called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0

11
debian/drone/etc/default/drone vendored Normal file
View File

@@ -0,0 +1,11 @@
# Upstart configuration file for droned.
# Command line options:
#
# -datasource="drone.sqlite":
# -driver="sqlite3":
# -path="":
# -port=":8080":
# -workers="4":
#
#DRONED_OPTS="--port=:80"

12
debian/drone/etc/init/drone.conf vendored Normal file
View File

@@ -0,0 +1,12 @@
start on (filesystem and net-device-up)
chdir /var/lib/drone
console log
script
DRONED_OPTS="--port=:80"
if [ -f /etc/default/$UPSTART_JOB ]; then
. /etc/default/$UPSTART_JOB
fi
droned $DRONED_OPTS
end script

BIN
debian/drone/usr/local/bin/drone vendored Executable file

Binary file not shown.

BIN
debian/drone/usr/local/bin/droned vendored Executable file

Binary file not shown.