Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions conf/turnkey.d/webmin-handy-log
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh -e
#!/bin/bash -e

# set up convenience links to Webmin log files

Expand All @@ -7,7 +7,7 @@ WEBMIN_LOG=/var/log/webmin

mkdir -p $WEBMIN_LOG

files="miniserv.log miniserv.error webmin.log"
for f in $files; do
ln -s $WEBMIN_VAR/$f $WEBMIN_LOG/$f
files=(miniserv.error webmin.log)
for f in "${files[@]}"; do
ln -s "$WEBMIN_VAR/$f" "$WEBMIN_LOG/$f"
done
17 changes: 14 additions & 3 deletions removelists-final/turnkey
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
# rm apt proxy conf
/etc/apt/apt.conf.d/01proxy

# clean apt cache
/var/cache/apt/archives/
!/var/cache/apt/archives/partial

# clean tmp key files
/etc/apt/trusted.gpg~
/etc/apt/trusted.gpg.d/*.gpg~

# clean apt related logs
/var/log/dpkg.log
/var/log/bootstrap.log
/var/log/apt/term.log
/var/log/apt/history.log

# rm composer auth token
/root/.composer/auth.json
/var/www/.composer/auth.json
Expand All @@ -16,9 +30,6 @@
# rm bashlib
/usr/local/src/tkl-bashlib

# rm gh_releases
/usr/local/bin/gh_releases

# rm tmp contents
~/tmp/*
~/tmp/.*
9 changes: 0 additions & 9 deletions removelists/turnkey
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
/etc/resolvconf/resolv.conf.d/original

/etc/apt/trusted.gpg~
/etc/apt/trusted.gpg.d/debian.gpg~
/etc/apt/trusted.gpg.d/turnkey.gpg~

/var/log/dpkg.log
/var/log/bootstrap.log
/var/log/apt/term.log
/var/log/apt/history.log

/var/www/html