Merge "Install gerritbot to /usr/local/bin."
This commit is contained in:
commit
6d6cd4ad29
@ -17,7 +17,7 @@
|
|||||||
PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
||||||
DESC="GerritBot"
|
DESC="GerritBot"
|
||||||
NAME=gerritbot
|
NAME=gerritbot
|
||||||
DAEMON=/usr/local/gerrit/$NAME
|
DAEMON=/usr/local/bin/$NAME
|
||||||
DAEMON_ARGS="/home/gerrit2/gerritbot.config"
|
DAEMON_ARGS="/home/gerrit2/gerritbot.config"
|
||||||
PIDFILE=/var/run/$NAME/$NAME.pid
|
PIDFILE=/var/run/$NAME/$NAME.pid
|
||||||
SCRIPTNAME=/etc/init.d/$NAME
|
SCRIPTNAME=/etc/init.d/$NAME
|
||||||
|
5
setup.py
5
setup.py
@ -52,5 +52,8 @@ setuptools.setup(
|
|||||||
"License :: OSI Approved :: Apache Software License",
|
"License :: OSI Approved :: Apache Software License",
|
||||||
"Operating System :: OS Independent",
|
"Operating System :: OS Independent",
|
||||||
"Programming Language :: Python"
|
"Programming Language :: Python"
|
||||||
]
|
],
|
||||||
|
entry_points={
|
||||||
|
"console_scripts": ["gerritbot = gerritbot.bot:main"]
|
||||||
|
}
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user