Re: Building binary package, howto enable init.d/systemd start

2023-03-07 Thread Alexandre Rossi
Hi, > i am trying to build a binary debian package consisting of a python > script, shell scripts and a config file as daemon with either init.d or > systemd start. > > The init.d script gets installed also the systemd file, but both are not > enabled. [...] > In debian/rules is: > >

Re: Re: Building binary package, howto enable init.d/systemd start

2023-03-03 Thread Konstantin Kletschke
Dear Tim, I followed your advise to restucture my stuff exactly like you suggested. Putting all files in a structure below source, Makefile, PACKAGE.install ... everything. And now it works! I get init.d and systemd _enabled_ start scripts. Installing this way I get an error at the target:

Re: Re: Building binary package, howto enable init.d/systemd start

2023-03-03 Thread Konstantin Kletschke
Dear Darac, > > The files > > /etc/init.d/loqitmon > > /lib/systemd/system/loqitmon.service > The manpage for dh_installsystemd suggests these files should be under > debian/. Are they, or are they in etc/init.d and lib/systemd/system? I have those below debian, this way: -rwxr-xr-x 1 konsti

Re: Building binary package, howto enable init.d/systemd start

2023-03-02 Thread Tim Woodall
On Thu, 2 Mar 2023, Konstantin Kletschke wrote: In debian/rules is: #!/usr/bin/make -f DH_VERBOSE=1 %: dh $@ clean: @# Do nothing build: @# Do nothing binary: mkdir -p debian/loqitmon mkdir -p debian/loqitmon/usr/ mkdir -p

Re: Building binary package, howto enable init.d/systemd start

2023-03-02 Thread Darac Marjal
On 02/03/2023 19:56, Konstantin Kletschke wrote: Dear debian-user Folks, i am trying to build a binary debian package consisting of a python script, shell scripts and a config file as daemon with either init.d or systemd start. The init.d script gets installed also the systemd file, but both