Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enabled and disable services by using systemd.presets
By using systemd.presets we can implement our own policy which services needs to be enabled or disabled on boot-time. This issue was initially triggered by a problem with the wpa_supplicant@*.service which failed on boot with an "Dependency failed for WPA supplicant daemon (interface-specific version)" error. See: http://paste.grml.org/2862/
- Loading branch information
Showing
2 changed files
with
17 additions
and
27 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
etc/grml/fai/config/files/etc/systemd/system-preset/10-grml.preset/GRMLBASE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# enable TTY logins | ||
enable getty@tty*.service.d | ||
|
||
# disable unwanted services | ||
disable cron.service | ||
disable lvm2-lvmetad.service | ||
disable lvm2-lvmetad.socket | ||
disable lvm2-lvmpolld.socket | ||
disable lvm2-monitor.service | ||
disable mdadm-raid.service | ||
disable smartd.service | ||
disable ssh.service | ||
disable swap.target | ||
disable systemd-timesyncd.service | ||
disable wpa_supplicant.service | ||
disable wpa_supplicant@.service | ||
disable uuidd.service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters