17 lines
554 B
Plaintext
17 lines
554 B
Plaintext
RPM package
|
|
|
|
1. python2 setup.py bdist_rpm
|
|
2. Added #!/usr/bin/python2 to start-*.py
|
|
3. cp start-data-collector.py /usr/bin/neat-data-collector
|
|
4. cp initscripts/* /etc/init.d/
|
|
5. cp neat.conf /etc/neat/neat.conf
|
|
|
|
RPM manuals:
|
|
|
|
https://fedoraproject.org/wiki/How_to_create_an_RPM_package
|
|
https://fedoraproject.org/wiki/Packaging:Guidelines
|
|
https://fedoraproject.org/wiki/Packaging:Python
|
|
http://fedoraproject.org/wiki/Packaging:SysVInitScript
|
|
http://docs.python.org/distutils/builtdist.html
|
|
http://stackoverflow.com/questions/2324933/creating-python-rpm
|