Ilia
a21626bd21
Fix salt length
2022-06-19 00:08:49 +03:00
Ilia
ebfb5dbae1
Fix to pass salt as a param
...
https://github.com/webmin/webmin/pull/1669#discussion_r901011310
2022-06-19 00:07:42 +03:00
Ilia
e20ebc2da9
Default to enable auto-detection of hashing format in setup.sh
2022-06-15 23:30:27 +03:00
Ilia
e68b0a161c
Add support for yescrypt and sha512 in setup.sh script
2022-06-15 23:29:12 +03:00
Ilia
3862848b42
Fix reload script for systemd in /etc/webmin
2022-06-15 03:18:12 +03:00
Ilia
70395aab02
Fix to solve Webmin systemd ongoing issues
2022-06-15 01:00:10 +03:00
Ilia
517c43c39b
Lower reload time but make sure it's not auto-restarted on force reload
2022-06-03 14:09:34 +03:00
Ilia
f662edb814
Fix miniserv restart with systemd
2022-06-03 13:14:06 +03:00
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