logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

cdist-type__daemontools_service - Create a daemontools-compatible service dir.

Authors

       Kamila Součková <kamila--@--ksp.sk>

Boolean Parameters

       None.

Copying

       Copyright (C) 2017 Kamila Součková. You can redistribute it and/or modify it under the terms of  the  GNU
       General  Public License as published by the Free Software Foundation, either version 3 of the License, or
       (at your option) any later version.

Description

       Create a directory structure compatible with daemontools-like service management.

       Note that svc must be present on the target system.

       The object ID will be used as the service name.

Examples

          require="__daemontools" __daemontools_service prometheus --run "setuidgid prometheus $GOBIN/prometheus $FLAGS"

Name

       cdist-type__daemontools_service - Create a daemontools-compatible service dir.

Optional Parameters

run    Command  to  run.  exec-ing  and  stderr  redirection  will be added. One of run, run-file must be
              specified.

              Example: my-programrun-file
              File to save as <servicedir>/run. One of run, run-file must be specified.

              Example:

          #!/bin/sh
          exec 2>&1
          exec my_program

       log-run
              Command to run for log consumption. Default: multilogt./mainservicedir
              Directory to install into. Default: /service

Required Parameters

       None.

See Also

cdist-type__daemontools(7)

See Also