aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix NEWS (my editor was somehow scrolled down past the first line and I ↵Colin Guthrie2012-09-301-3/+4
| | | | didn't see the release marker (*sigh*)
* Switch to xz archiveColin Guthrie2012-09-301-2/+1
|
* Fix typoColin Guthrie2012-09-302-2/+2
|
* Sync del-service unit finding code with add-service.Colin Guthrie2012-09-301-18/+34
| | | | | This is actually where the non-relative symlinks in chroots might occur as technically all packges will only include relative symlinks.
* Make the code a little more compact + deal slightly better with ↵Colin Guthrie2012-09-302-17/+12
| | | | non-releative symlinks in chroots
* Mark a fresh install of a systemd service as 'migrated' to avoid subsequent ↵Colin Guthrie2012-09-302-0/+5
| | | | checks on upgrade.
* Update NEWSColin Guthrie2012-09-301-0/+1
|
* Only run chkconfig --del when the initscript exists (mga#7611)Colin Guthrie2012-09-301-1/+1
|
* *sigh* Forgot NEWS in last commit/version bump :(Colin Guthrie2012-04-301-0/+4
| | | | | | One more change before final release likely still needed to deal with package renames gracefully (httpd, mariadb being prime examples) so there will likely still be one more release.
* 0.24.10v0.24.10Colin Guthrie2012-04-301-1/+1
|
* Trust systemd install rules if avaialble, only then fall back to manual linkingColin Guthrie2012-04-301-3/+4
|
* Do not allow error status to leak from script.Colin Guthrie2012-04-301-3/+5
|
* 0.24.9v0.24.9Colin Guthrie2012-04-291-1/+1
|
* Fix handling of masked and symlinked unit namesColin Guthrie2012-04-292-8/+16
|
* bump vesionv0.24.8Colin Guthrie2012-04-032-1/+2
|
* add-service: on package upgrade, restart all instances of template units.Colin Guthrie2012-04-032-2/+19
|
* add-service: attempt to migrate template systemd units (foo@.service) ↵Colin Guthrie2012-04-032-9/+25
| | | | somewhat gracefully.
* add-service: Change the systemd unitdir search order to match upstream.Colin Guthrie2012-04-032-9/+10
|
* Fix NEWS (forgot to press ctrl+s before commit... sigh)Colin Guthrie2012-03-191-1/+1
|
* Always reload systemd unit cache before attempting to restart unitsColin Guthrie2012-03-192-3/+5
|
* bump releasev0.24.7Guillaume Rousse2012-03-122-1/+5
|
* executable bitGuillaume Rousse2012-03-121-0/+0
|
* convert to utf8Guillaume Rousse2012-03-121-1/+1
|
* fix documentation: facility is mandatoryGuillaume Rousse2012-03-101-4/+3
|
* actually, we don't care about sysklogd at all anymoreGuillaume Rousse2012-03-083-75/+4
|
* rsyslog support has superseded syslog-ng support since quite a long timeGuillaume Rousse2012-03-081-2/+2
|
* 0.25.6Colin Guthrie2012-02-162-1/+2
|
* Tiny tidy-up of NEWS fileColin Guthrie2012-02-161-6/+5
|
* Fix dist bugColin Guthrie2012-02-161-2/+2
|
* Migrate service enabled/disabled status from sysvinit to systemd on upgradeColin Guthrie2012-02-164-27/+148
|
* Silent enable/disable servicesDexter Morgan2012-01-193-2/+5
|
* Revert wrong change in rpm-helper/MakefileDexter Morgan2012-01-011-1/+1
|
* Add spec-helperDexter Morgan2012-01-011-1/+1
|
* Add support for systemd .path filesv0.24.5Dexter Morgan2011-12-133-1/+4
|
* Brown-paper-bag: Add missing script to Makefile.v0.24.4Colin Guthrie2011-11-032-2/+6
|
* Bump version for release.v0.24.3Colin Guthrie2011-11-031-1/+1
|
* Add a new service helper for postun.Colin Guthrie2011-11-033-0/+36
| | | | At the moment this is only used to reload systemd if it's running.
* Update NEWSColin Guthrie2011-11-031-0/+11
|
* Ensure we calculate the true systemd unit name.Colin Guthrie2011-11-032-1/+40
| | | | | | | | | | | | | | | | | | | | | When passing just a sysvinit name, we synthesise a systemd unit name via the amazingly cunning and subtle technique of adding '.service' on to the name. This is very effective for referring to units for most commands as even if an actual unit file of this name exists systemd might be providing the unit for this service via a different name, but just symlinking to the sysvinit name in order to prevent the sysvinit script from firing. This is done with e.g. the dm and networkmanager services. When using the symlinked name, systemctl will refuse to enable or disable the unit (see https://bugs.mageia.org/show_bug.cgi?id=3188) and this is expected behaviour. Thus we use readlink to attempt to resolve the link to a real name.
* Do not assume that the sysvinit script exists.Colin Guthrie2011-10-301-2/+2
| | | | | | It is possible that we call this helper when only a systemd unit exists and thus it makes sense to protect against calling chkconfig and friends when this is the case.
* Change how services are handled in systemd.v0.24.20.24.2Colin Guthrie2011-10-302-27/+28
| | | | | | | | | | | This ensures that services are started/stopped in the most appropriate way depending on what init system is being used. Also when upgrading a service, ensure it is properly restarted even when using systemd (assuming it is currently running). Testing these scripts without actually installing/uninstalling package may result in the sysvinit scripts being deleted so be careful.
* Remove a split out function which no longer reflected it's name.Colin Guthrie2011-10-301-24/+21
| | | | The function is short enough that splitting it out does not really aid readability
* Remove early exit and replace with conditionals to improve readabilityColin Guthrie2011-10-301-13/+11
|
* Extend the msec check to systemd socket units as well as services onesColin Guthrie2011-10-301-0/+1
|
* Ensure systemd units are handled automagically from the service name.Colin Guthrie2011-10-302-5/+18
| | | | | | | | | | | The Mandriva code required that all packages were updated to deal with systemd units whenever they are provided. While packages generally need updated to include new units, it's also something that requires a lot of work and thus in the short term we should deal with it with minimal changes. By always seting the units variable, some checks become redundant so skip them or replace with a suitable alternative
* Tabs->Spaces. The latter seems more common, so go with that.Colin Guthrie2011-10-302-43/+43
|
* Set svn:keywords on the files that use it.Colin Guthrie2011-10-3015-15/+15
|
* Remove mandriva supportDexter Morgan2011-10-282-9/+0
|
* Add systemd support ( mdv )Dexter Morgan2011-10-279-40/+253
|
* Synthesized commit during git-svn import combining previous Mandriva history ↵Mageia SVN-Git Migration2011-10-2715-15/+15
| | | | | | | | | | | | with Magiea. This commit consitsts of the following subversion commits: ------------------------------------------------------------------------ r2081 | dmorgan | 2011-10-27 23:29:24 +0100 (Thu, 27 Oct 2011) | 1 line import rpm-helper ------------------------------------------------------------------------