Install gerritbot to /usr/local/bin.
Install gerritbot as an executable script to /usr/local/bin/gerritbot. Also, update the gerritbot.init script to use this path. Change-Id: I7b2cb18e14d473427e58389548ea6a11aabd779e
This commit is contained in:
parent
d15abaa25f
commit
0fbd5d7e84
@ -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…
x
Reference in New Issue
Block a user