Commit Graph

393 Commits

Author SHA1 Message Date
iliajie
f300bd7f5b Add support for more options in unit section in systemd 2022-12-10 15:14:00 +02:00
iliajie
f4c367f2ae Add support for contemporary OpenSUSE Leap Linux 2022-11-23 22:30:51 +02:00
Jamie Cameron
f74ef12e70 Use new ui library 2022-11-05 21:12:26 -07:00
iliajie
cb98164c82 Fix to only get specific properties for speed 2022-10-22 19:07:05 +03:00
iliajie
0930bdde32 Fix indent 2022-10-22 14:33:42 +03:00
iliajie
debcde489d Abstract systemd unit types 2022-10-22 14:32:02 +03:00
iliajie
bf0a3a109b Fix to filter out all possible templates 2022-10-22 14:18:46 +03:00
Ilia
231c8fcbd3 Merge branch 'master' into dev/fix-systemd-lost-properties 2022-10-22 13:57:02 +03:00
iliajie
831abe0812 Fix to run systemctl show individually for each unit instead 2022-10-22 13:51:40 +03:00
iliajie
429cf742be Sync with master 2022-10-22 13:48:46 +03:00
iliajie
e2438029ab Fir to preformat error message 2022-10-22 13:40:57 +03:00
Jamie Cameron
532e1150ce Asking for properties causes some units to be skipped 2022-10-21 22:22:05 -07:00
iliajie
5404142690 Fix to run systemctl show for each unit 2022-10-20 13:33:01 +03:00
Jamie Cameron
9350bd79cd Separate units in systemctl show by the spaces between them 2022-10-19 22:06:50 -07:00
Jamie Cameron
854d34bda2 Revert "Fix stop loosing systemd units https://github.com/webmin/webmin/issues/1745"
This reverts commit 5a53efb560.
2022-10-19 22:01:33 -07:00
iliajie
b9e6ceecfc Fix systemd lost properties 2022-10-19 15:19:11 +03:00
iliajie
60349eb62e Protect Webmin from being deleted or stopped, and restart properly 2022-10-19 14:25:43 +03:00
iliajie
18a84c643e Update translations 2022-10-19 13:44:49 +03:00
iliajie
6a38dd89d1 Fix precedence is very important, especially when service is masked
* Unit must be enabled (and unmasked) first before starting
  * Therefore a service cannot be started before it's enabled in Webmin
2022-10-19 13:40:40 +03:00
iliajie
3456f581de Fix to prevent masked services from being edited 2022-10-19 12:40:20 +03:00
iliajie
460ba7d8cd Add support to display No (masked) state 2022-10-19 12:33:08 +03:00
iliajie
d16b6433f3 Fix to display stopped, disable and masked in orange 2022-10-19 12:28:14 +03:00
iliajie
79f485d81d Fix to test if unit exists before masking ; add return codes 2022-10-18 19:05:45 +03:00
iliajie
783ba32a48 Fix detection of systemd unit (more than just .service) 2022-10-18 18:27:11 +03:00
iliajie
5a53efb560 Fix stop loosing systemd units https://github.com/webmin/webmin/issues/1745 2022-10-18 18:25:16 +03:00
iliajie
fa57718bf8 Fix for systemd types tests (more than just .service) 2022-10-18 18:14:03 +03:00
iliajie
b863134d61 Add new {mask|unmask}_actions for systemd systems 2022-10-18 13:54:02 +03:00
iliajie
2d2bac1804 Fix to consider timers 2022-10-14 13:28:04 +03:00
Jamie Cameron
391773274f Remove obsolete option to skip use of chkconfig 2022-10-01 18:11:01 -07:00
Jamie Cameron
52d34aea5d Remove un-used show_opts option 2022-10-01 17:59:06 -07:00
Jamie Cameron
8307d78c07 Links to init scripts are always symlinks 2022-10-01 17:44:24 -07:00
Jamie Cameron
0c22608c7a Remove support for ancient caldera-only daemons_dir feature 2022-10-01 17:35:46 -07:00
Jamie Cameron
7faf34961c Remove totally obsolete daemons_dir config option 2022-10-01 17:28:42 -07:00
Jamie Cameron
4f8b96cfeb Remove start/stop messages option from configs, as it can be determined by the OS 2022-10-01 17:07:53 -07:00
unknown10777
8664fbd78c added translation 2022-08-27 14:06:42 +08:00
iliajie
6a5b605024 Remove redundant quotes 2022-08-11 19:07:13 +03:00
iliajie
3660bdfcf5 Add support to install multiple versions of Webmin with systemd 2022-08-11 16:23:29 +03:00
iliajie
93ca7a0191 Use -HUP here too 2022-08-05 21:52:04 +03:00
iliajie
8f65e8f47a Fix default stop command for systemd units 2022-07-26 17:47:43 +03:00
iliajie
63a2e3e8bc Revert "Add kill command fall-back (just in case)"
This reverts commit 6a68cc8149.
2022-07-03 02:19:36 +03:00
iliajie
6a68cc8149 Add kill command fall-back (just in case) 2022-07-03 00:03:55 +03:00
iliajie
56a7221290 Fix to check on kill command for systemd unit file 2022-07-02 23:51:12 +03:00
iliajie
673b00f4ad Fix reload command 2022-07-02 23:44:54 +03:00
Jamie Cameron
9bbbf04a9e Use the correct path to the kill command 2022-07-02 13:33:34 -07:00
Ilia
0b43242c44 Fix not to log to systemd while waiting 2022-06-15 01:33:48 +03:00
Ilia
70395aab02 Fix to solve Webmin systemd ongoing issues 2022-06-15 01:00:10 +03:00
Ilia
603b5029bc Add to support Restart= and RestartSec= for systemd 2022-06-15 00:06:34 +03:00
Ilia
9c35578d2e Add get_systemd_unit_pid API 2022-06-14 23:19:17 +03:00
Ilia
597682f9ae Fix to use absolute path 2022-06-08 20:42:36 +03:00
Ilia
64bad303b5 Paths in unit service file must be configurable 2022-06-03 21:45:28 +03:00