th33xitus
f9d2671930
refactor(nginx.sh): improve handling of conflicting packages
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-27 11:52:44 +02:00
th33xitus
544c26c01e
fix: nginx permission issue on ubuntu 21 and above
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-27 09:20:45 +02:00
th33xitus
55a86c086e
refactor: remove octoprint port check
...
kiauh does not support setting up nginx configs for octoprint anyways. saving and comparing a non existing port is useless code
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-22 17:42:10 +02:00
th33xitus
4c6885ec90
refactor: remove lighttpd from the list of conflicting services
...
lighttpd is "just" a webserver and no reverse proxy. it should technically not interfere with nginx anyways.
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-22 16:31:47 +02:00
th33xitus
d5dbce782b
refactor: use correct shebang
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-22 15:58:50 +02:00
th33xitus
435b1f46a8
style: improve code-style and fix some shellcheck warnings
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-18 22:31:32 +02:00
th33xitus
294aa47420
style: whitespace between brackets in function declaration
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-14 19:49:53 +02:00
th33xitus
2bcb441287
refactor: substitute ~/klipper_logs
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-14 18:08:08 +02:00
th33xitus
b4367e0cdc
refactor: move nginx globals to globals.sh
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 21:00:51 +02:00
th33xitus
9d60a241fd
refactor: nginx related functions
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 21:00:49 +02:00
th33xitus
c03badb8d1
logging: log which function is reading .kiauh.ini
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 21:00:49 +02:00
th33xitus
3570d58f20
refactor: add local keyword
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 21:00:49 +02:00
th33xitus
e32f618a6c
refactor: only execute chown on files that the user do not already own
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:58:47 +02:00
th33xitus
f46b1e7981
fix: small bug in chown command
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:58:46 +02:00
th33xitus
306586d283
refactor(nginx.sh): reword local scope variables
...
- fix typo for reading kiauh ini
- use different method for restarting nginx
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:58:45 +02:00
th33xitus
3fd1a6bf99
refactor: mainsail installer & mainsail theme installer
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:58:45 +02:00
th33xitus
6f85ad6815
refactor: multiple
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:58:45 +02:00
th33xitus
ea6a380e0f
refactor: replace ${default} with ${white}
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:59 +02:00
th33xitus
9122b50367
refactor(kiauh.sh): clean up kiauh.sh
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:59 +02:00
th33xitus
2981365ddc
refactor(nginx.sh): refactor nginx functions
...
Signed-off-by: Dominik Willner th33xitus@gmail.com
2022-05-12 20:57:59 +02:00