Quantcast
Channel: User Sergey Ponomarev - Stack Overflow
Viewing all articles
Browse latest Browse all 58

Answer by Sergey Ponomarev for How to get deb package from Java gradle project that register app to systemd

$
0
0

You can use the plain debian folder with debuild command.As a quick start to create the debian folder you can use the debmake that will add all basic files:

debmake -u 1.0.0 -n

Then edit those files inside of the debian.You need to create the debian/yourpackage.install file to specify which file should be installed to which destination.Then eecute debuild command and it will build the deb package in the upper directory.

It will auto detect the gradle.build and build the project as is.If you have a systemd service it will also add a postinstall script to reload the daemon.


Viewing all articles
Browse latest Browse all 58

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>