Merge "Install gerritbot to /usr/local/bin."

This commit is contained in:
Jenkins 2012-08-03 16:32:28 +00:00 committed by Gerrit Code Review
commit 6d6cd4ad29
2 changed files with 5 additions and 2 deletions

View File

@ -17,7 +17,7 @@
PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC="GerritBot"
NAME=gerritbot
DAEMON=/usr/local/gerrit/$NAME
DAEMON=/usr/local/bin/$NAME
DAEMON_ARGS="/home/gerrit2/gerritbot.config"
PIDFILE=/var/run/$NAME/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME

View File

@ -52,5 +52,8 @@ setuptools.setup(
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python"
]
],
entry_points={
"console_scripts": ["gerritbot = gerritbot.bot:main"]
}
)