Git Product home page Git Product logo

Comments (8)

gst avatar gst commented on August 16, 2024

I saw in file install_hooks.py this line :

..

8 def get_init_scripts(config):
9 """ Add init scripts in data_files for install """
10 data_files = config['files']['data_files']
11 if 'win' in sys.platform:
12 pass
13 elif 'linux' in sys.platform or 'sunos5' in sys.platform:
14 data_files = data_files + "\netc/init.d = bin/init.d/*"
15 data_files = data_files + "\netc/default = bin/default/alignak.in"

okkk..

Can you add code to make it compatible with systemd ?

but what would be required more exactly actually ?
if you know it : can you make a PR ? Thanks :)

from alignak.

aviau avatar aviau commented on August 16, 2024

The bug tag is wrong. Systemd is backwards compatible with sysvinit. This is an enhancement.

We should ship one .service file for all daemons.

I can review the PR when there is one.

from alignak.

hvad avatar hvad commented on August 16, 2024

Hi,

I think add line between line 14 and 15 in file install_hooks.py :
if 'fedora' in platform.dist()[0]:
data_files = data_files + "\nsystemd/* = /usr/lib/systemd/system/*"

But my goal, is to make rpm for fedora/epel. I think we must discussing packaging on irc or devel list.

Regard

from alignak.

mohierf avatar mohierf commented on August 16, 2024

@hvad: I just submitted a PR for setup scripts and I was not aware of this issue ... what about this? Are you still interested in this for Fedora?

from alignak.

mohierf avatar mohierf commented on August 16, 2024

As explained by @hvad Alignak RPM is systemd compatible. I close this issue.

from alignak.

Seb-Solon avatar Seb-Solon commented on August 16, 2024

Well actually the RPM weekly built is not. I'll have to edit the spec. @hvad it a talking about the rpm he did on the side I think.

from alignak.

mohierf avatar mohierf commented on August 16, 2024

Ok, so let's keep this open ...

from alignak.

mohierf avatar mohierf commented on August 16, 2024

Closeing according to last packaging modifications

from alignak.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.