This file is indexed.

/lib/systemd/system-generators/booth-generator is in booth 1.0-2.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

set -eu

GENDIR="$1"
WANTDIR="$1/booth.service.wants"
SERVICEFILE="/lib/systemd/system/booth@.service"
AUTOSTART="all"
CONFIG_DIR=/etc/booth
DEFAULT_CONF=/etc/default/booth

mkdir -p "$WANTDIR"

# generate systemd service files for all *.conf files within $CONFIG_DIR
for CONFIG in `cd $CONFIG_DIR; ls *.conf 2> /dev/null`; do
	NAME=${CONFIG%%.conf}
	ln -s "$SERVICEFILE" "$WANTDIR/booth@$NAME.service"
done

exit 0