Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ISPConfig 3
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 556
    • Issues 556
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 42
    • Merge requests 42
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISPConfig
  • ISPConfig 3
  • Issues
  • #1131
Closed
Open
Created Aug 09, 2010 by Jerome Warnier@jwarnier

Daemons restart or reload configuration files

Restarting or reloading daemons currently use /etc/init.d/daemon_name. On Debian (and Ubuntu), for a long time, using "invoke-rc.d" (ex.: "invoke-rc.d daemon_name restart") had been recommended, and now, yet another method is on Ubuntu because of upstart (ex.: "service daemon_name restart"). Anyway, I'm a user of Nexenta (OpenSolaris kernel with Debian GNU userland), which uses yet another slightly different one (ex.: "svcadm restart daemon_name").

So I propose to introduce a generic system, with parameters $service (= daemon name) and $action (=restart|reload, I guess nothing else is really needed for now).

Syntax should be dependent upon the system it is running on /etc/init.d/, invoke-rc.d, service or svcadm. Please also note that the order of the (two) arguments do change in some of those. Something to catch the return code should also be available there.

Assignee
Assign to
Time tracking