Coder Social home page Coder Social logo

Systemd init script about cfengine-debian HOT 11 CLOSED

ballock avatar ballock commented on August 21, 2024
Systemd init script

from cfengine-debian.

Comments (11)

tzz avatar tzz commented on August 21, 2024

Please review https://dev.cfengine.com/issues/5414 since the SUSE maintainer has kindly written the systemd init and identified some issues already. @kkaempf is it OK to use the same init scripts for both cases, minimizing the maintenance work for both sides?

from cfengine-debian.

bahamat avatar bahamat commented on August 21, 2024

I agree. We should reuse that one if possible. Is it or will it be included with core?

from cfengine-debian.

tzz avatar tzz commented on August 21, 2024

It is in master but not 3.6.x. Also it lives in contrib which is not distributed with the packages. So for the 3.6.0 release it will need to be manually included and used by the Debian and SUSE maintainers, but can come from that authoritative place so we have just one version.

from cfengine-debian.

kkaempf avatar kkaempf commented on August 21, 2024

@tzz the .service scripts should be systemd-specific, not SUSE-specific. I hope we can make them generic and cross-distribution

from cfengine-debian.

tzz avatar tzz commented on August 21, 2024

What functional testing is needed on Debian for systemd support?

  • cf-execd
  • cf-serverd
  • what systemctl modes should be supported? For instance reload config doesn't make sense since the cf daemons reload their own configs whenever they notice file changes.

from cfengine-debian.

bahamat avatar bahamat commented on August 21, 2024

I think we just need to make sure that cf-execd, cf-serverd, and cf-monitord can start up and shut down.

Reload should probably either be a nop or aliased to restarting since there's no real notion of re-reading the config.

from cfengine-debian.

tzz avatar tzz commented on August 21, 2024

please watch and add your vote to https://dev.cfengine.com/issues/5243

from cfengine-debian.

bahamat avatar bahamat commented on August 21, 2024

I can log in, but I get 403 trying to access that issue. I seem to be able to access other issues.

from cfengine-debian.

tzz avatar tzz commented on August 21, 2024

I've now made the ticket public, sorry about that.

from cfengine-debian.

bahamat avatar bahamat commented on August 21, 2024

This has an upstream target of 3.7, so won't be available for Jessie.

We can patch in the following examples:
https://build.opensuse.org/package/view_file/systemsmanagement/cfengine/cf-serverd.service?expand=1
https://build.opensuse.org/package/view_file/systemsmanagement/cfengine/cf-execd.service?expand=1
https://build.opensuse.org/package/view_file/systemsmanagement/cfengine/cf-monitord.service?expand=1

from cfengine-debian.

bahamat avatar bahamat commented on August 21, 2024

These are now included in upstream. They'll be pulled in during the next major release.

from cfengine-debian.

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.