Commit Graph

127 Commits

Author SHA1 Message Date
Ilia
9f6a651a79 Fix change bind port redirects 2022-06-03 04:44:58 +03:00
Ilia
c6e2df146a Fix to suppress error not command output 2022-05-06 20:17:51 +03:00
Jamie Cameron
3e01c24434 Suppress output in the right place 2022-05-01 17:31:01 -07:00
Ilia
d865737a45 Fix to hide scripts that mustn't be run directly; fix bugs 2022-04-25 17:04:01 +03:00
Ilia
dfbf80b3b1 Call force reload as restart-by-force-kill to make better sense 2022-04-25 15:36:50 +03:00
Ilia
e84bb09b81 Fix command presence test
https://github.com/webmin/webmin/pull/1628#discussion_r857203773
2022-04-25 13:46:31 +03:00
Ilia
c026a53cf5 Add missing done 2022-04-24 12:48:32 +03:00
Ilia
52cc3c5458 Fix links creation 2022-04-23 21:01:58 +03:00
Ilia
ee8e260664 Fail proof way of stopping Webmin server 2022-04-23 16:44:52 +03:00
Ilia
da3b4c6296 Clear systemd and do uninstall silently 2022-04-23 02:45:04 +03:00
Ilia
d3ad394bd8 Always update systemd script 2022-04-23 02:03:09 +03:00
Ilia
e0ece6d26b Partially revert incorrect assumptions in centralized startup 2/2 2022-04-23 00:13:39 +03:00
Ilia
3b722daa81 Enable service only after script is ready 2022-04-22 23:58:02 +03:00
Ilia
9b7e14d781 No need to store variable 2022-04-22 23:44:20 +03:00
Ilia
b70a9f9917 Enable only when switching to new systemd mode 2022-04-22 23:43:44 +03:00
Ilia
c466274443 Switch to creating centralized startup service in setup.sh 1/2 2022-04-22 17:17:01 +03:00
Ilia
349741ce88 Fix generated scripts mod 2022-04-21 19:00:05 +03:00
Ilia
13619825d9 Fix to properly deal with both init.d and systemd systems
a3680e0173 (r71796872)
2022-04-21 14:25:13 +03:00
Ilia
a3680e0173 Add support for native systemd webmin.service unit 2022-04-21 03:55:33 +03:00
Ilia
02e523b402 Fix to use native commands on systemd systems 2022-04-20 03:40:07 +03:00
Ilia
2b793e35d9 Avoid printing to STDOUT, print to webmin-setup.out when necessary 2022-04-19 18:16:24 +03:00
Jamie Cameron
954aaa1a63 Get hostname once, using uname command as a fallback 2021-11-15 23:09:22 -08:00
Ilia Rostovtsev
23d08c75eb Remove wrapping * at all for the message string 2021-06-21 12:30:03 +03:00
Ilia Rostovtsev
80504935c0 Fix to use simpler way of getting get length
https://sourceforge.net/p/webadmin/bugs/5491/
2021-06-19 15:31:08 +03:00
Ilia Rostovtsev
23e7e1975c Balance printing spaces to print regular and dev versions nicely 2021-03-01 18:57:55 +03:00
Jamie Cameron
6833ce004a Don't break os_type as it is used later 2020-11-08 14:28:51 -08:00
Jamie Cameron
591fbe8656 Also use the new stop flag to shut down cleanly on CentOS 8 2020-07-25 17:44:20 -07:00
Ilia Rostovtsev
1279d7f616 Revert wrong "Use less harsh kill first b129fd8a27"
I remembered that we used it for compatibility, otherwise it will never work as intended

This reverts commit a1bc2b504c.
2020-07-05 14:33:29 +03:00
Ilia Rostovtsev
a1bc2b504c Use less harsh kill first b129fd8a27 2020-07-05 14:30:51 +03:00
Jamie Cameron
b129fd8a27 Change stop script to only kill -9 if the --kill flag is given, and adjust the setup script to only run it after re-creation by the new version 2020-07-04 20:36:49 -07:00
Ilia Rostovtsev
04803fe390 Add support for merging ".auto" for (module|config).info and help/ files 2020-04-07 15:48:52 +03:00
Ilia Rostovtsev
11e2f62d45 Use grep instead ef1d3f2a54 (commitcomment-37954867) 2020-03-21 17:16:13 +03:00
Ilia Rostovtsev
ef1d3f2a54 Fix FreeBSD match for -linux like distros 2020-03-20 13:47:13 +03:00
Ilia Rostovtsev
e021dc4b41 Fix (trick) to make it work on all distros 2020-03-19 16:43:11 +03:00
marky edwards
f54a9a0868 Update setup.sh
fix the `redhat-linux` comparison to `*-linux` grep search
2020-03-17 20:08:17 -07:00
Jamie Cameron
2a9df4c5d4 suppress errors from final kill 2020-01-21 11:08:21 -08:00
Jamie Cameron
5668647043 Attempt to kill sub-processes if supported 2020-01-19 14:59:24 -08:00
Jamie Cameron
fae9c12a4e Update stop script to use kill -9 if needed 2020-01-19 13:29:52 -08:00
Jamie Cameron
bb07dcd060 What if tempdir contains a space? 2019-09-16 23:11:13 -07:00
Jamie Cameron
76532de5ac Add extra checks that config dir is valid https://sourceforge.net/p/webadmin/bugs/5184/ 2018-08-26 09:45:57 -07:00
Jamie Cameron
6db2efe1b3 ppath does nothing https://sourceforge.net/p/webadmin/bugs/5049/ 2017-12-06 16:34:34 -08:00
Amish
45c509b3e1 export PERLLIB
When running postinstall scripts, new version of perl gives this error:
Running postinstall scripts ..
Can't locate WebminCore.pm in @INC (you may need to install the WebminCore module)

Above fixes this.
2017-07-03 11:50:07 +05:30
Amish
2b0e28852e add noportcheck to not to check if port is in use
add variable noportcheck to not to check if port is in use
2017-05-03 14:22:10 +05:30
Jamie Cameron
a508348cca Make missing perl module clearer 2016-11-18 13:42:19 -08:00
Jamie Cameron
0353111336 Enable IPv6 by default for new installs https://sourceforge.net/p/webadmin/bugs/4824/ 2016-10-05 16:43:54 -07:00
Jamie Cameron
ba53820a46 Don't disable TLS 1.0 and 1.1 on old openssl versions, as they may not support newer protocols 2016-05-27 14:06:58 -07:00
Jamie Cameron
8a1446ab2c Enable server-side preferred ciphers by default 2016-02-14 18:48:21 -08:00
Jamie Cameron
48abf8702a Actually we need TLS 1.2 2015-10-03 22:37:06 -07:00
Jamie Cameron
0c348a754f Disable all old TLS versions by default for new installs https://sourceforge.net/p/webadmin/bugs/4590/ 2015-08-25 19:50:33 -07:00
Jamie Cameron
eb950ff47d Generate new SHA2 key at install time 2015-06-05 20:48:34 -07:00