-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathssc.env.example
More file actions
60 lines (49 loc) · 2.54 KB
/
Copy pathssc.env.example
File metadata and controls
60 lines (49 loc) · 2.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Server Scripts CLI Configuration
#
# ssc sources ~/.config/ssc/ssc.env at startup, before it reads any of the
# variables below. A variable already set in your environment wins over the
# file. Because sourcing executes the file, ssc skips it when it is not owned
# by you or when group or others can write it.
#
# Usage:
# mkdir -p ~/.config/ssc
# cp config/ssc.env.example ~/.config/ssc/ssc.env
# chmod 600 ~/.config/ssc/ssc.env
# ============================================================================
# Manifest Configuration
# ============================================================================
# Manifest file location (default: manifest.yaml in the repository root)
# SSC_MANIFEST_FILE="/path/to/custom/manifest.yaml"
# Repository root (default: git rev-parse --show-toplevel, else the directory
# of ssc.sh). Script paths in the manifest are resolved against it.
# SSC_REPO_ROOT="/path/to/repository"
# ============================================================================
# Output Configuration
# ============================================================================
# Log level: debug, info, warning, error (default: info)
# Filters the status messages of ssc itself. The tables printed by list, info
# and status are data and always go out. 'debug' adds resolved paths and the
# exact command behind 'ssc run', on stderr.
SSC_LOG_LEVEL="info"
# Colored output: auto, always, never (default: auto)
# auto colors when stdout is a terminal.
SSC_COLOR="auto"
# ============================================================================
# systemd Integration (Optional)
# ============================================================================
# Enable systemd queries: true, false (default: true)
# false makes 'ssc status' and 'ssc logs' report the switch and return without
# calling systemctl or journalctl. Useful on hosts without systemd.
SSC_SYSTEMD_ENABLED="true"
# ============================================================================
# Execution
# ============================================================================
# Script execution timeout in seconds for 'ssc run' (default: 0 = no timeout)
# Requires the 'timeout' binary from coreutils; ssc warns and runs without it
# when it is missing. A killed script exits 124.
# SSC_EXEC_TIMEOUT=300
# Strict validation: true, false (default: false)
# true makes 'ssc validate' check status, type, deployment, service and
# requires_root of every entry against docs/MANIFEST_SCHEMA.md, and count each
# mismatch towards the exit code.
# SSC_STRICT_VALIDATION="false"