Commit Graph

437 Commits

Author SHA1 Message Date
Ilia
7e632d7769 This is atboot.pl not updateboot.pl 2022-04-24 11:21:13 +03:00
Jamie Cameron
0c43244890 Just use systemctl if possible 2022-04-23 11:51:30 -07:00
Ilia
468945a74d Don't assume default 2022-04-23 15:48:56 +03:00
Ilia
da3b4c6296 Clear systemd and do uninstall silently 2022-04-23 02:45:04 +03:00
Ilia
4b9895b334 Add sec check 2022-04-23 02:20:55 +03:00
Ilia
dd1927b54c Drop new file 2022-04-23 02:18:16 +03:00
Ilia
6846bfdda4 Update boot properly 2022-04-23 02:17:25 +03:00
Ilia
d3ad394bd8 Always update systemd script 2022-04-23 02:03:09 +03: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
05ed0be573 Fix systemd script generation for manual installs 2022-04-23 01:06:24 +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 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
Ilia Rostovtsev
0462945632 Update translations 3/3 2021-11-18 22:13:17 +03:00
Jamie Cameron
1e08584c20 systemd config file name may be different to unit name 2021-09-09 21:52:19 -07:00
Jamie Cameron
20db4a29cf Show config file name 2021-09-09 21:50:17 -07:00
Jamie Cameron
73aa2eac76 Japanese update 2021-08-17 20:54:02 -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
b5cb27d0fa Add prefs info files 2021-02-28 21:14:24 +03: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
Ilia Rostovtsev
4c4b647096 Fix to add extra line breaks (sections) to language files 2020-12-27 21:15:36 +03:00
Jamie Cameron
c6345ec1e9 Norwegian translation update from Stein-Askel Basma 2020-12-06 11:00:27 -08:00
Ilia Rostovtsev
7ad9321b8d Fix to print descriptions and commands consistently 2020-09-08 12:48:09 +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
Ilia Rostovtsev
3a64619e11 Use foreing call instead to get file name 2020-07-05 01:09:19 +03:00
Ilia Rostovtsev
e8c1223305 Fix to use safe filename 22b27811b3 (r40370102) 2020-07-05 00:47:36 +03:00
Ilia Rostovtsev
22b27811b3 Add ability to remove reboot notification from Dashboard https://github.com/authentic-theme/authentic-theme/issues/896#issuecomment-653792643 2020-07-04 22:31:55 +03:00
Ilia Rostovtsev
fafc6ed2b5 Drop useless empty files /2 2020-04-29 23:25:40 +03:00
Ilia Rostovtsev
ee56777e6d Drop useless empty files 2020-04-29 23:17:45 +03:00
Ilia Rostovtsev
70876bff93 Add help/ translations 2020-04-23 18:10:56 +03:00
Ilia Rostovtsev
f6b8cc6692 Add transcodings and rename files to new format for help/ 2020-04-19 20:02:31 +03:00
Ilia Rostovtsev
77455e8175 Drop files that are available in its original encoding /2 2020-04-19 13:58:52 +03:00
Ilia Rostovtsev
8b40bed018 Fix to escape HTML entities as designed on template language (en)
Note: Large diff for most files is due to sorting lines as in template languge file (English)
2020-04-14 01:34:18 +03:00