DOKK / manpages / debian 12 / cdist / cdist-type__daemontools_service.7.en
CDIST-TYPE__DAEMONTOOLS_SERVICE(7) cdist CDIST-TYPE__DAEMONTOOLS_SERVICE(7)

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

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.

None.

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

Example: my-program

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

Example:


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


Command to run for log consumption. Default: multilog t ./main
Directory to install into. Default: /service

None.

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


cdist-type__daemontools(7)

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

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.

ungleich GmbH 2021

January 15, 2023 7.0.0