summaryrefslogtreecommitdiff
path: root/src/s6-rc/s6-rc-compile.h
blob: 7d2bc19fbcc3dfded9f2898c3814672c2ecfea98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ISC license. */

#ifndef S6_RC_COMPILE_H
#define S6_RC_COMPILE_H

#include <execline/config.h>
#include <s6/config.h>

#define SPECIAL_NAME "s6-oneshot-runner"

#define SPECIAL_RUNSCRIPT \
"#!" EXECLINE_EXTBINPREFIX "execlineb -P\n" \
EXECLINE_EXTBINPREFIX "fdmove -c 2 1\n" \
S6_EXTBINPREFIX "s6-ipcserver-socketbinder -- s\n" \
S6_EXTBINPREFIX "s6-notifywhenup -f --\n" \
S6_EXTBINPREFIX "s6-ipcserverd -1 --\n" \
S6_EXTBINPREFIX "s6-ipcserver-access -E -l0 -i data/rules --\n" \
S6_EXTBINPREFIX "s6-sudod -t 2000 --\n"

#endif