1CDIST-TYPE__DAEMONTOOLS_SERVICE(7)   cdist  CDIST-TYPE__DAEMONTOOLS_SERVICE(7)
2
3
4

NAME

6       cdist-type__daemontools_service  - Create a daemontools-compatible ser‐
7       vice dir.
8

DESCRIPTION

10       Create a directory structure compatible with  daemontools-like  service
11       management.
12
13       Note that svc must be present on the target system.
14
15       The object ID will be used as the service name.
16

REQUIRED PARAMETERS

18       None.
19

OPTIONAL PARAMETERS

21       run    Command  to  run. exec-ing and stderr redirection will be added.
22              One of run, run-file must be specified.
23
24              Example: my-program
25
26       run-file
27              File to save as <servicedir>/run. One of run, run-file  must  be
28              specified.
29
30              Example:
31
32          #!/bin/sh
33          exec 2>&1
34          exec my_program
35
36       log-run
37              Command to run for log consumption. Default: multilog t ./main
38
39       servicedir
40              Directory to install into. Default: /service
41

BOOLEAN PARAMETERS

43       None.
44

EXAMPLES

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

SEE ALSO

49       cdist-type__daemontools(7)
50

AUTHORS

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

COPYING

55       Copyright (C) 2017 Kamila Součková. You can redistribute it and/or mod‐
56       ify it under the terms of the GNU General Public License  as  published
57       by  the  Free  Software Foundation, either version 3 of the License, or
58       (at your option) any later version.
59
61       ungleich GmbH 2021
62
63
64
65
667.0.0                            Jul 31, 2022CDIST-TYPE__DAEMONTOOLS_SERVICE(7)
Impressum