mirror of
https://github.com/systemd/systemd.git
synced 2024-11-02 02:21:44 +03:00
0064dcc0fc
Enable reboot.target and disable exit.target: the first is used on normal machines, the second only in containers, and the more general one should be enabled by default. Also fix the Makefile to match what preset-all does. With this and the previous commits, doing "make instal DESTDIR=…" followed by "systemctl preset-all --root=…" doesn't result in any changes.
36 lines
953 B
Plaintext
36 lines
953 B
Plaintext
# This file is part of systemd.
|
|
#
|
|
# systemd is free software; you can redistribute it and/or modify it
|
|
# under the terms of the GNU Lesser General Public License as published by
|
|
# the Free Software Foundation; either version 2.1 of the License, or
|
|
# (at your option) any later version.
|
|
|
|
# These ones should be enabled by default, even if distributions
|
|
# generally follow a default-off policy.
|
|
|
|
enable remote-fs.target
|
|
enable machines.target
|
|
|
|
enable getty@.service
|
|
enable systemd-timesyncd.service
|
|
enable systemd-networkd.service
|
|
enable systemd-resolved.service
|
|
enable systemd-networkd-wait-online.service
|
|
|
|
disable console-getty.service
|
|
disable console-shell.service
|
|
disable debug-shell.service
|
|
|
|
disable halt.target
|
|
disable kexec.target
|
|
disable poweroff.target
|
|
enable reboot.target
|
|
disable rescue.target
|
|
disable exit.target
|
|
|
|
disable syslog.socket
|
|
|
|
disable systemd-journal-gatewayd.*
|
|
disable systemd-journal-remote.*
|
|
disable systemd-journal-upload.*
|