1CDIST-TYPE__DAEMONTOOLS_SERVICE(7) cdist CDIST-TYPE__DAEMONTOOLS_SERVICE(7)
2
3
4
6 cdist-type__daemontools_service - Create a daemontools-compatible ser‐
7 vice dir.
8
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
18 None.
19
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
43 None.
44
46 require="__daemontools" __daemontools_service prometheus --run "setuidgid prometheus $GOBIN/prometheus $FLAGS"
47
49 cdist-type__daemontools(7)
50
52 Kamila Součková <kamila--@--ksp.sk>
53
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 2020
62
63
64
65
666.9.6 Apr 20, 2021CDIST-TYPE__DAEMONTOOLS_SERVICE(7)