@@ -4,11 +4,11 @@ _scriptDir="/opt/stenographer"
4
4
5
5
add_accounts () {
6
6
if ! id stenographer & > /dev/null; then
7
- Info " Setting up stenographer user"
7
+ echo " Setting up stenographer user"
8
8
sudo adduser --system --no-create-home stenographer
9
9
fi
10
10
if ! getent group stenographer & > /dev/null; then
11
- Info " Setting up stenographer group"
11
+ echo " Setting up stenographer group"
12
12
sudo addgroup --system stenographer
13
13
fi
14
14
}
@@ -19,7 +19,7 @@ install_certs () {
19
19
install_configs () {
20
20
cd $_scriptDir
21
21
22
- Info " Setting up stenographer conf directory"
22
+ echo " Setting up stenographer conf directory"
23
23
if [ ! -d /etc/stenographer/certs ]; then
24
24
sudo mkdir -p /etc/stenographer/certs
25
25
sudo chown -R root:root /etc/stenographer/certs
@@ -32,7 +32,7 @@ install_configs () {
32
32
sudo chown root:root /etc/stenographer
33
33
34
34
if grep -q /path/to /etc/stenographer/config; then
35
- echo " Create output directories and update settings in /etc/stenographer/config"
35
+ echo " WARNING! Create output directories and update settings in /etc/stenographer/config"
36
36
fi
37
37
}
38
38
@@ -53,12 +53,12 @@ install_service () {
53
53
cd $_scriptDir
54
54
55
55
if [ ! -f /etc/security/limits.d/stenographer.conf ]; then
56
- Info " Setting up stenographer limits"
56
+ echo " Setting up stenographer limits"
57
57
sudo cp -v configs/limits.conf /etc/security/limits.d/stenographer.conf
58
58
fi
59
59
60
60
if [ ! -f /etc/systemd/system/stenographer.service ]; then
61
- Info " Installing stenographer systemd service"
61
+ echo " Installing stenographer systemd service"
62
62
sudo cp -v configs/systemd.conf /etc/systemd/system/stenographer.service
63
63
sudo chmod 0644 /etc/systemd/system/stenographer.service
64
64
fi
0 commit comments