Commit Graph

164 Commits

Author SHA1 Message Date
Ilia Ross
61d2081371 Add to support more passible options to systemd service file 2024-06-16 01:55:03 +03:00
Ilia Ross
0d0e9170b9 Add timeoutstopsec as well 2023-10-13 10:51:33 +03:00
Jamie Cameron
f7cf6419d2 Use taqbs 2023-09-06 16:23:40 -07:00
Ilia Ross
1e375b4740 Fix indent one more time
c573496914
2023-09-04 13:14:31 +03:00
Jamie Cameron
c573496914 Fix indenting 2023-09-03 22:54:28 -07:00
iliajie
f300bd7f5b Add support for more options in unit section in systemd 2022-12-10 15:14:00 +02: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
460ba7d8cd Add support to display No (masked) state 2022-10-19 12:33:08 +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
4f8b96cfeb Remove start/stop messages option from configs, as it can be determined by the OS 2022-10-01 17:07:53 -07:00
iliajie
8f65e8f47a Fix default stop command for systemd units 2022-07-26 17:47:43 +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
e91303b630 Update comment 2022-05-18 20:12:08 +03:00
Ilia
77e7db787a Fix systemd get root 2022-05-18 20:08:51 +03:00
Jamie Cameron
385ccdf43f Use common function to check init script status, rather than looking for a file 2022-05-07 13:08:35 -07:00
Jamie Cameron
1a24cbc8ef Make the error message less confusing when just enabling an action 2022-05-07 12:21:43 -07:00
Jamie Cameron
e0ea538216 Merge pull request #1628 from webmin/dev/postinstall-procedures
Dev/postinstall procedures
2022-04-27 20:50:20 -07:00
Jamie Cameron
0c43244890 Just use systemctl if possible 2022-04-23 11:51:30 -07:00
Ilia
eeeae8a2f6 Fix indent 2022-04-23 01:20:32 +03:00
Ilia
9079d6121a Use recommended /etc/systemd/system by default 2022-04-23 01:14:19 +03:00
Ilia Rostovtsev
3bd9b9dcbe Add status to systemd services 2022-02-19 16:17:23 +03:00
Jamie Cameron
c686cfab4e State can be active (exited) when a service is down https://forum.virtualmin.com/t/apparmor/113924/12 2022-02-17 15:43:55 -08:00
Ilia Rostovtsev
682a7910ec Fix indent 2022-02-06 21:05:05 +03:00
Ilia Rostovtsev
ef0d07f55b Fix systemd service detection
https://github.com/virtualmin/virtualmin-pro/issues/16#issuecomment-1030869911
2022-02-06 21:03:59 +03:00
Jamie Cameron
0e1f7d8d72 Cache list of systemd services https://forum.virtualmin.com/t/new-way-to-copy-system-information-data/113433/12 2022-01-04 22:41:34 -08:00
Jamie Cameron
2602f8dbe1 Don't read init scripts if not looking for one https://forum.virtualmin.com/t/new-way-to-copy-system-information-data/113433/12 2022-01-04 22:35:18 -08:00
Jamie Cameron
1e08584c20 systemd config file name may be different to unit name 2021-09-09 21:52:19 -07:00
Jamie Cameron
7ef3b7bb1e Fix passing of user to systemd 2021-08-15 18:25:56 -07:00