Skip to content

Commit 6e9b0ac

Browse files
author
Jeff Bezos
committed
update package script
1 parent 06beebb commit 6e9b0ac

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/postinstall.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ install_configs () {
3232
sudo chown root:root /etc/stenographer
3333

3434
if grep -q /path/to /etc/stenographer/config; then
35+
mkdir -p /var/lib/stenographer
36+
sudo chown -R stenographer:stenographer /var/lib/stenographer
37+
sudo sed -i 's/\/path\/to/\/var\/lib\/stenographer/g' /etc/stenographer/config
3538
echo "WARNING! Create output directories and update settings in /etc/stenographer/config"
3639
fi
3740
}
@@ -71,8 +74,8 @@ function SetCapabilities {
7174

7275
add_accounts
7376
install_configs
74-
install_certs
7577
do_permissions
7678
install_service
79+
install_certs
7780

7881
echo "stenographer is ready."

0 commit comments

Comments
 (0)