Project

General

Profile

Actions

Bug #6743

closed

Bug #6737: Make all techniques compatible with systemd changes

generic_process_check_process in init-check still uses /etc/init.d

Added by Alexis Mousset over 9 years ago. Updated over 9 years ago.

Status:
Released
Priority:
N/A
Assignee:
Matthieu CERDA
Category:
Techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

In the initial promises, generic_process_check_process in init-check.cf still uses /etc/init.d

  commands:

    root_server|process_exception_on_relay::

      "/etc/init.d/${initscript}" 
        args => "restart </dev/null >/dev/null 2>/dev/null",
        contain => in_shell_silent,
      # action => bg("0", "120"),
        classes => kept_if_else("process_restart_ok_${canoname}", "process_restart_ok_${canoname}", "process_restart_error_${canoname}"),

This is for example called for the apache service, and will fail with systemd.

Actions

Also available in: Atom PDF