Skip to content

Commit

Permalink
Correcting debian path
Browse files Browse the repository at this point in the history
  • Loading branch information
PotHix committed May 10, 2011
1 parent e95eff6 commit 29b3a2b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
1 change: 0 additions & 1 deletion debian/files

This file was deleted.

18 changes: 10 additions & 8 deletions debian/init.d
Original file line number Diff line number Diff line change
Expand Up @@ -18,32 +18,34 @@ APP_DIR=/var/www/$NAME
set -e

start() {
echo -n "Please use apache to start rubygems-proxy\n"
}

stop() {
echo -n "Please use apache to stop rubygems-proxy\n"
}

case "$1" in
start)
echo -n "Starting $DESC: "
start
;;
stop)
stop)
echo -n "Stopping $DESC: "
stop
;;
restart)
restart)
echo "Restarting $DESC: "
stop
start
sleep 4
;;
*)
N=/etc/init.d/$NAME
# echo "Usage: $N {start|stop|restart}" >&2
echo "Usage: $N {start|stop|restart|force-reload|status|force-stop}" >&2
exit 1
;;
*)
N=/etc/init.d/$NAME
# echo "Usage: $N {start|stop|restart}" >&2
echo "Usage: $N {start|stop|restart}" >&2
exit 1
;;
esac

exit 0
4 changes: 2 additions & 2 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ install: build


# Add here commands to install the package into debian/<packagename>
mkdir -p $DEBIAN_PATH
cp -R public tmp views config.ru rubygems_proxy.rb $DEBIAN_PATH
mkdir -p $(DEBIAN_PATH)
cp -R public tmp views config.ru rubygems_proxy.rb $(DEBIAN_PATH)

# Build architecture-independent files here.
binary-indep: build install
Expand Down

0 comments on commit 29b3a2b

Please sign in to comment.