Commit Graph

164 Commits

Author SHA1 Message Date
Jamie Cameron
f656880d38 Use correct systemd path on OpenSuSE 13 https://github.com/webmin/webmin/issues/128 2014-01-26 13:49:37 -08:00
Jamie Cameron
e09b463f4f Use full path to sh http://sourceforge.net/p/webadmin/bugs/4328/ 2013-12-04 22:30:47 -08:00
Jamie Cameron
81ec930529 On SuSE, add directives indicating that commands are one-off 2013-10-19 09:57:29 -07:00
Jamie Cameron
2ce07fc25f Skip mandrake-specific init scripts 2013-05-05 21:37:45 -07:00
Jamie Cameron
0f166011ad Reload systemd after making changes https://sourceforge.net/tracker/?func=detail&atid=117457&aid=3611902&group_id=17457 2013-04-28 16:32:01 -07:00
Jamie Cameron
ac051d0ab1 Systemd doesn't support re-direction in commands, so run via a shell 2013-04-28 16:01:27 -07:00
Jamie Cameron
ebc41abfc4 Clean environment variables before running init scripts 2013-02-19 22:07:26 -08:00
Jamie Cameron
c3bdd1d922 Force use of english for status messages https://sourceforge.net/tracker/?func=detail&atid=117457&aid=3604428&group_id=17457 2013-02-12 20:46:01 -08:00
Jamie Cameron
e3bc97e962 Reduce timeout 2013-02-02 17:28:48 -08:00
Jamie Cameron
05c6ba3713 Add timeout for init script status https://www.virtualmin.com/node/25206 2013-02-02 09:41:08 -08:00
Jamie Cameron
a7ae86635d Allow forcing of init system https://sourceforge.net/tracker/?func=detail&atid=117457&aid=3598222&group_id=17457 2012-12-27 10:58:13 -08:00
Jamie Cameron
81393d5878 Handle chkconfig failure in a different way https://www.virtualmin.com/node/24544 2012-12-15 10:06:01 -08:00
Jamie Cameron
57a1a5d0cf Use more reliable backquote function to capture output 2012-10-09 16:33:31 -07:00
Jamie Cameron
dda0c0e7a9 Allow mass stop and start of mixed-mode actions https://github.com/webmin/webmin/issues/43 2012-10-09 15:53:39 -07:00
Jamie Cameron
ae7755bee9 Support systemd when starting services 2012-10-08 10:33:54 -07:00
Jamie Cameron
12b5600f9c Scan systemd units 100 at a time, to avoid long command line https://sourceforge.net/tracker/index.php?func=detail&aid=3571943&group_id=17457&atid=117457# 2012-09-26 12:54:09 -07:00
Jamie Cameron
d5a6fb4885 Use systemd scripts in /etc/systemd/system in preference, if they exist https://sourceforge.net/tracker/?func=detail&atid=117457&aid=3571837&group_id=17457 2012-09-26 11:45:25 -07:00
Jamie Cameron
a5747234de If insserv fails, create S links directly https://www.virtualmin.com/node/22942 2012-08-03 14:35:25 -07:00
Jamie Cameron
385b40900d Use initctl instead of service command 2012-07-30 17:31:12 -07:00
Jamie Cameron
b437091f2b Ubuntu 12.04 doesn't have insserv, but it does use upstart 2012-04-26 22:15:39 -07:00
Jamie Cameron
886aa07ce7 Handle case where systemd is not running https://sourceforge.net/tracker/?func=detail&atid=117457&aid=3481271&group_id=17457 2012-01-31 14:01:37 -08:00
Jamie Cameron
95ed14f3a6 Prevent double-display of init scripts 2011-12-20 15:45:28 -08:00
Jamie Cameron
998202cc8d More work on systemd / Fedora 16 support 2011-12-20 15:41:50 -08:00
Jamie Cameron
443c2117c2 More work on systemd support 2011-12-17 22:42:25 -08:00
Jamie Cameron
457fa69c18 systemd support now pretty much working 2011-12-16 17:24:53 -08:00
Jamie Cameron
8b1b428d1c More work on systemd support 2011-12-15 21:36:43 -08:00
Jamie Cameron
58b3f5b5fd Work on systemd support 2011-12-13 22:46:46 -08:00
Jamie Cameron
b4eefd09b4 Fail if boot command was missing 2011-09-29 16:03:04 -07:00
Jamie Cameron
f03fb2bd01 Add restart button for upstart
https://www.virtualmin.com/node/19326
2011-08-28 12:44:39 -07:00
Jamie Cameron
8a3b529b9f Better handle insserv failure
http://www.virtualmin.com/node/19095
2011-08-09 11:43:17 -07:00
Jamie Cameron
51c3ceb7b6 Remove whitespace 2011-06-25 21:00:46 -07:00
Jamie Cameron
7273dd2422 Fix parameter to upstart start function 2011-06-22 10:39:56 -07:00
Jamie Cameron
bc2aaba5ac Fix a couple more upstart issues
http://www.virtualmin.com/node/17831
2011-05-06 10:22:29 -07:00
Jamie Cameron
521b0baf92 Detect all runlevels for legacy init scripts
https://www.virtualmin.com/node/17831
2011-05-05 12:05:45 -07:00
Jamie Cameron
98f1c909c8 Re-factored code to get status and supported actions for an init script 2011-05-04 16:38:46 -07:00
Jamie Cameron
25faec7b12 Start/stop buttons per service, ability to comment out multi-line start blocks 2011-04-18 22:09:49 -07:00
Jamie Cameron
a71cfc40c9 Start / stop buttons 2011-04-18 11:30:20 -07:00
Jamie Cameron
887375cbbd Atboot fixes 2011-04-16 18:03:14 -07:00
Jamie Cameron
9a8024a0ec More work on upstart support 2011-04-16 16:50:39 -07:00
Jamie Cameron
474ebe8af9 Mass enable or disable of upstart actions 2011-04-15 23:53:29 -07:00
Jamie Cameron
aa70796224 Comment out start line to disable upstart scripts 2011-04-15 17:27:50 -07:00
Jamie Cameron
98f3a2a9d8 More work on upstart support 2011-04-15 00:05:42 -07:00
Jamie Cameron
777ba79640 Work on upstart support in bootup module 2011-04-14 18:31:20 -07:00
Jamie Cameron
f16ba51f8c Add Default-Stop tab, without which debian complains
https://www.virtualmin.com/node/17618
2011-03-23 15:39:45 -07:00
Jamie Cameron
a4b7b93b3b Minor fix for Ubuntu 10.10 2011-03-12 09:57:59 -08:00
Jamie Cameron
48f24558fb Improve logic for detecting runlevel 2011-03-10 12:03:30 -08:00
Jamie Cameron
0ab1aceb1b Also detect actual current runlevel
http://www.virtualmin.com/node/17333
2011-02-27 22:16:02 -08:00
Jamie Cameron
6ab42dfd4e Enable use of LSB init script headers on Debian
https://www.virtualmin.com/node/17287
2011-02-22 11:29:57 -08:00
Jamie Cameron
eea6bc94e2 Changes to support upstart and ubuntu 10.10 2011-02-12 11:02:50 -08:00
Jamie Cameron
441b32b24a Use insserv on Debian to enable and disable boot scripts 2011-02-09 17:01:01 -08:00