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 |
|
Jamie Cameron
|
2b357cf0f1
|
Add function to enable an action at boot that runs as a non-root user
|
2021-08-15 14:04:05 -07:00 |
|
Ilia Rostovtsev
|
0bc86a3147
|
Check if opts are passed
|
2021-04-27 21:41:11 +03:00 |
|
Ilia Rostovtsev
|
8725fd83fc
|
Add ability to utilize env
|
2021-04-27 16:05:09 +03:00 |
|
Ilia Rostovtsev
|
b64effa5f1
|
Add flexibility in creating systemd services
|
2021-04-27 15:36:56 +03:00 |
|
Jamie Cameron
|
84572640e7
|
Don't totally fail if some units can be read
|
2021-04-03 19:24:42 -07:00 |
|
Ilia Rostovtsev
|
fa2e4c87b7
|
Don't test for non-native services as returned status may be false-positive
|
2021-03-05 21:11:35 +03:00 |
|
Ilia Rostovtsev
|
4b82fe84c4
|
Fix to catch non-native systemd service output
|
2021-03-05 00:48:31 +03:00 |
|
Jamie Cameron
|
fec9b6eec6
|
Fix bug that caused init scripts to be ignored if in systemd mode https://www.virtualmin.com/node/70782
|
2021-03-03 18:07:43 -08:00 |
|
Ilia Rostovtsev
|
37f1d75afd
|
Add trim sub
23adcc8bc0 (r46315725)
|
2021-01-25 23:34:16 +03:00 |
|
Ilia Rostovtsev
|
7fd42f1c3e
|
Add better logic to test unit status
23adcc8bc0
|
2021-01-24 13:51:56 +03:00 |
|
Ilia Rostovtsev
|
64d77ae6e7
|
Fix to lowercase output when testing 23adcc8bc0
|
2021-01-23 15:06:43 +03:00 |
|
Ilia Rostovtsev
|
23adcc8bc0
|
Add support for native is-enabled command
https://sourceforge.net/p/webadmin/bugs/5447/#9431
|
2021-01-23 14:40:49 +03:00 |
|
Jamie Cameron
|
301b994855
|
Check for init script in all dirs https://github.com/webmin/webmin/issues/1282
|
2020-08-13 17:38:01 -07:00 |
|
Jamie Cameron
|
a2dc3f7124
|
Switch all calls to open() to explicitly open for read
|
2020-03-14 17:20:54 -07:00 |
|
Jamie Cameron
|
f8b96e3ccc
|
API to reload an action
|
2019-10-25 20:36:24 -07:00 |
|
Jamie Cameron
|
031aded040
|
API for listing action names generically
|
2019-06-30 18:33:36 -07:00 |
|
Jamie Cameron
|
3f73bd8f1c
|
Use single command to get status
|
2019-06-30 17:22:10 -07:00 |
|
Jamie Cameron
|
8a684d8c41
|
Detect and show unknown status systemd actions https://www.virtualmin.com/node/59115
|
2018-10-20 10:33:26 -07:00 |
|
Jamie Cameron
|
9f869be140
|
Checking for /etc/rc.d makes no sense on systemd systems https://github.com/webmin/webmin/issues/835
|
2018-02-28 19:46:45 -08:00 |
|