Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master imp-data-systemd by Jeremy Kajikawa (4700643ae1cecbd8347b5d0b95844e7cf9d1c036)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Jeremy Kajikawa <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master imp-data-systemd by Jeremy Kajikawa (4700643ae1cecbd8347b5d0b95844e7cf9d1c036)
  • Date: Wed, 15 Jun 2011 09:28:05 -0500

GIT changes to master imp-data-systemd by Jeremy Kajikawa
<Belxjander AT gmail.com>:

README |
2
install.sh |
26 +++++++
systemd.def |
17 ++++
template/system.conf |
25 +++++++
template/system/acpid.service |
10 ++
template/system/basic.target |
14 ++++
template/system/basic.target.wants/metalog.service |
1
template/system/basic.target.wants/systemd-tmpfiles-clean.timer |
1
template/system/basic.target.wants/udev-trigger.service |
1
template/system/basic.target.wants/udev.service |
1
template/system/bluetooth.service |
12 +++
template/system/bluetooth.target |
12 +++
template/system/console-kit-daemon.service |
11 +++
template/system/console-shell.service |
26 +++++++
template/system/cryptsetup.target |
11 +++
template/system/ctrl-alt-del.target |
1
template/system/cups.path |
8 ++
template/system/cups.service |
14 ++++
template/system/cups.socket |
9 ++
template/system/default.target |
1
template/system/dev-hugepages.automount |
14 ++++
template/system/dev-hugepages.mount |
15 ++++
template/system/dev-mqueue.automount |
14 ++++
template/system/dev-mqueue.mount |
15 ++++
template/system/dm.service |
1
template/system/emergency.service |
28 ++++++++
template/system/emergency.target |
14 ++++
template/system/final.target |
14 ++++
template/system/fsck-root.service |
23 ++++++
template/system/fsck@.service |
20 +++++
template/system/gdm.service |
8 ++
template/system/getty.target |
9 ++
template/system/getty.target.wants/getty AT tty1.service |
1
template/system/getty.target.wants/getty AT tty2.service |
1
template/system/getty.target.wants/getty AT tty3.service |
1
template/system/getty.target.wants/getty AT tty4.service |
1
template/system/getty.target.wants/getty AT tty5.service |
1
template/system/getty.target.wants/getty AT tty6.service |
1
template/system/getty@.service |
35 ++++++++++
template/system/gpm.service |
10 ++
template/system/graphical.target |
18 +++++
template/system/graphical.target.wants/dm.service |
1
template/system/halt.service |
16 ++++
template/system/halt.target |
18 +++++
template/system/http-daemon.target |
14 ++++
template/system/hwclock-load.service |
34 +++++++++
template/system/hwclock-save.service |
17 ++++
template/system/kexec.service |
16 ++++
template/system/kexec.target |
18 +++++
template/system/libvirtd.service |
12 +++
template/system/local-fs.target |
13 +++
template/system/local-fs.target.wants/fsck-root.service |
1
template/system/local-fs.target.wants/media.mount |
1
template/system/local-fs.target.wants/remount-rootfs.service |
1
template/system/local-fs.target.wants/systemd-remount-api-vfs.service |
1
template/system/local-fs.target.wants/var-lock.mount |
1
template/system/local-fs.target.wants/var-run.mount |
1
template/system/local.service |
14 ++++
template/system/lxdm.service |
8 ++
template/system/mail-transfer-agent.target |
14 ++++
template/system/media-cdrom.automount |
7 ++
template/system/media.mount |
16 ++++
template/system/metalog.service |
8 ++
template/system/metalog.socket |
8 ++
template/system/mpd.service |
9 ++
template/system/mpd.service~ |
9 ++
template/system/multi-user.target |
18 +++++
template/system/multi-user.target.wants/dbus.service |
1
template/system/multi-user.target.wants/getty.target |
1
template/system/multi-user.target.wants/libvirtd.service |
1
template/system/multi-user.target.wants/local.service |
1
template/system/multi-user.target.wants/network.target |
1
template/system/multi-user.target.wants/remote-fs.target |
1
template/system/multi-user.target.wants/systemd-ask-password-wall.path |
1
template/system/multi-user.target.wants/systemd-user-sessions.service |
1
template/system/netbios-names.service |
9 ++
template/system/netbios-names.socket |
9 ++
template/system/netbios-names@.service |
7 ++
template/system/netbios-session.service |
9 ++
template/system/netbios-session.socket |
9 ++
template/system/netbios-session@.service |
7 ++
template/system/network.target |
11 +++
template/system/network.target.wants/http-daemon.target |
1
template/system/network.target.wants/mail-transfer-agent.target |
1
template/system/network.target.wants/netbios-names.service |
1
template/system/network.target.wants/netbios-session.service |
1
template/system/network.target.wants/proftpd.service |
1
template/system/network.target.wants/remote-fs.target |
1
template/system/network.target.wants/sshd.service |
1
template/system/network.target.wants/wicd.service |
1
template/system/nss-lookup.target |
15 ++++
template/system/ntpd.service |
9 ++
template/system/polkitd.service |
12 +++
template/system/portmap.service |
9 ++
template/system/portmap.socket |
13 +++
template/system/poweroff.service |
16 ++++
template/system/poweroff.target |
18 +++++
template/system/printer.target |
12 +++
template/system/proc-sys-fs-binfmt_misc.automount |
14 ++++
template/system/proc-sys-fs-binfmt_misc.mount |
15 ++++
template/system/proftpd.service |
9 ++
template/system/proftpd.socket |
9 ++
template/system/quotacheck.service |
20 +++++
template/system/quotaon.service |
19 +++++
template/system/reboot.service |
16 ++++
template/system/reboot.target |
18 +++++
template/system/remote-fs.target |
15 ++++
template/system/remount-rootfs.service |
19 +++++
template/system/rescue.service |
30 ++++++++
template/system/rescue.target |
17 ++++
template/system/rpcbind.target |
14 ++++
template/system/rtc-set.target |
2
template/system/runlevel0.target |
1
template/system/runlevel1.target |
1
template/system/runlevel1.target.wants |
1
template/system/runlevel2.target |
1
template/system/runlevel2.target.wants |
1
template/system/runlevel3.target |
1
template/system/runlevel3.target.wants |
1
template/system/runlevel4.target |
1
template/system/runlevel4.target.wants |
1
template/system/runlevel5.target |
1
template/system/runlevel5.target.wants |
1
template/system/runlevel6.target |
1
template/system/serial-getty@.service |
28 ++++++++
template/system/shutdown.target |
13 +++
template/system/shutdown.target.wants/hwclock-save.service |
1
template/system/shutdown.target.wants/systemd-random-seed-save.service |
1
template/system/shutdown.target.wants/systemd-update-utmp-shutdown.service |
1
template/system/sigpwr.target |
11 +++
template/system/smartcard.target |
12 +++
template/system/sockets.target |
11 +++
template/system/sockets.target.wants/dbus.socket |
1
template/system/sockets.target.wants/syslog.socket |
1
template/system/sockets.target.wants/systemd-initctl.socket |
1
template/system/sockets.target.wants/systemd-logger.socket |
1
template/system/sockets.target.wants/systemd-shutdownd.socket |
1
template/system/sockets.target.wants/udev.socket |
1
template/system/sound.target |
12 +++
template/system/sshd.service |
9 ++
template/system/sshd.socket |
9 ++
template/system/sshd@.service |
7 ++
template/system/swap.target |
11 +++
template/system/sys-kernel-debug.automount |
14 ++++
template/system/sys-kernel-debug.mount |
15 ++++
template/system/sys-kernel-security.automount |
14 ++++
template/system/sys-kernel-security.mount |
15 ++++
template/system/sysinit.target |
15 ++++
template/system/sysinit.target.wants/cryptsetup.target |
1
template/system/sysinit.target.wants/dev-hugepages.automount |
1
template/system/sysinit.target.wants/dev-mqueue.automount |
1
template/system/sysinit.target.wants/proc-sys-fs-binfmt_misc.automount |
1
template/system/sysinit.target.wants/sys-kernel-debug.automount |
1
template/system/sysinit.target.wants/sys-kernel-security.automount |
1
template/system/sysinit.target.wants/systemd-ask-password-console.path |
1
template/system/sysinit.target.wants/systemd-binfmt.service |
1
template/system/sysinit.target.wants/systemd-kmsg-syslogd.service |
1
template/system/sysinit.target.wants/systemd-modules-load.service |
1
template/system/sysinit.target.wants/systemd-random-seed-load.service |
1
template/system/sysinit.target.wants/systemd-sysctl.service |
1
template/system/sysinit.target.wants/systemd-tmpfiles-setup.service |
1
template/system/sysinit.target.wants/systemd-vconsole-setup.service |
1
template/system/syslog.socket |
30 ++++++++
template/system/syslog.target |
19 +++++
template/system/systemd-ask-password-console.path |
16 ++++
template/system/systemd-ask-password-console.service |
15 ++++
template/system/systemd-ask-password-wall.path |
16 ++++
template/system/systemd-ask-password-wall.service |
15 ++++
template/system/systemd-binfmt.service |
19 +++++
template/system/systemd-hostnamed.service |
17 ++++
template/system/systemd-initctl.service |
16 ++++
template/system/systemd-initctl.socket |
17 ++++
template/system/systemd-kmsg-syslogd.service |
19 +++++
template/system/systemd-logger.service |
20 +++++
template/system/systemd-logger.socket |
21 ++++++
template/system/systemd-modules-load.service |
19 +++++
template/system/systemd-random-seed-load.service |
18 +++++
template/system/systemd-random-seed-save.service |
17 ++++
template/system/systemd-readahead-collect.service |
21 ++++++
template/system/systemd-readahead-done.service |
20 +++++
template/system/systemd-readahead-done.timer |
19 +++++
template/system/systemd-readahead-replay.service |
21 ++++++
template/system/systemd-remount-api-vfs.service |
19 +++++
template/system/systemd-shutdownd.service |
16 ++++
template/system/systemd-shutdownd.socket |
16 ++++
template/system/systemd-sysctl.service |
20 +++++
template/system/systemd-tmpfiles-clean.service |
19 +++++
template/system/systemd-tmpfiles-clean.timer |
13 +++
template/system/systemd-tmpfiles-setup.service |
12 +++
template/system/systemd-update-utmp-runlevel.service |
16 ++++
template/system/systemd-update-utmp-shutdown.service |
16 ++++
template/system/systemd-user-sessions.service |
16 ++++
template/system/systemd-vconsole-setup.service |
12 +++
template/system/time-sync.target |
14 ++++
template/system/udisks.service |
12 +++
template/system/umount.target |
13 +++
template/system/var-lock.mount |
18 +++++
template/system/var-run.mount |
18 +++++
template/system/wicd.service |
11 +++
template/user/bluetooth.target |
1
template/user/default.target |
11 +++
template/user/exit.service |
18 +++++
template/user/exit.target |
18 +++++
template/user/local-fs.target |
1
template/user/printer.target |
1
template/user/remote-fs.target |
14 ++++
template/user/shutdown.target |
1
template/user/sockets.target |
1
template/user/sound.target |
1
template/user/swap.target |
1
210 files changed, 2055 insertions(+), 1 deletion(-)

New commits:
commit 4700643ae1cecbd8347b5d0b95844e7cf9d1c036
Author: Jeremy Kajikawa <Belxjander AT gmail.com>
Commit: Jeremy Kajikawa <Belxjander AT gmail.com>

This is a template mirror of my personal active system...
A full replication mirror of current state

The *.target.wants/ directories are primary folders...
however all runlevel* materials are symlinks...

I have also had to make *1* additional workaround...
which is an additional entry into the spell information for this
repository to be usable within imp on SourceMage

I hope this is at least useful for making systemd more available

commit 494b39f3f1dd58d6302a65d302711c6710e0cc09
Author: Jeremy Kajikawa <Belxjander AT gmail.com>
Commit: Jeremy Kajikawa <Belxjander AT gmail.com>

modified: README
new file: install.sh
new file: systemd.def

Modified from the imp-data-simpleinit to handle the systemd specifics...

WARNING: THIS IS NEEDING Q/A TESTING

diff --git a/README b/README
index 4844c0a..0f7835f 100644
--- a/README
+++ b/README
@@ -1 +1 @@
-Repository related to IMP data for systemd
+Repository for IMP data related to systemd
diff --git a/install.sh b/install.sh
new file mode 100755
index 0000000..932b08a
--- /dev/null
+++ b/install.sh
@@ -0,0 +1,26 @@
+#!/bin/bash
+DATASET=systemd
+if [[ $2 ]] ; then
+ INSTALL_ROOT="$2"
+else
+ INSTALL_ROOT=""
+fi
+
+if [[ "$1" == "install" ]]; then
+ if ! grep -q "\./install.sh$" <<< "$0"; then
+ echo "This script must be ran from the IMP checkout dir!"
+ exit 1
+ fi
+ mkdir -vp $INSTALL_ROOT/lib/imp/{modules,scripts}/$DATASET
+ mkdir -vp $INSTALL_ROOT/lib/imp/def
+ cp -vr modules/* $INSTALL_ROOT/lib/imp/modules/$DATASET/
+ cp -vr scripts/* $INSTALL_ROOT/lib/imp/scripts/$DATASET/
+ cp -v $DATASET.def $INSTALL_ROOT/lib/imp/def/
+ sed -i -e
"s:SCRIPTROOT=.*:SCRIPTROOT=$INSTALL_ROOT/lib/imp/scripts/$DATASET:" \
+ -e
"s:MODULEROOT=.*:MODULEROOT=$INSTALL_ROOT/lib/imp/modules/$DATASET:"
$INSTALL_ROOT/lib/imp/def/$DATASET.def
+fi
+
+if [[ "$1" == "uninstall" ]]; then
+ rm -rv $INSTALL_ROOT/lib/imp/{modules,scripts}/$DATASET
+ rm -v $INSTALL_ROOT/lib/imp/def/$DATASET.def
+fi
diff --git a/systemd.def b/systemd.def
new file mode 100644
index 0000000..c47c885
--- /dev/null
+++ b/systemd.def
@@ -0,0 +1,17 @@
+# where init looks for it's relevant things
+INITROOT="/etc/systemd"
+
+# in case this isn't the same as INITROOT
+RUNLEVELROOT="${INITROOT}/system"
+
+# only those that have installable scripts
+RUNLEVELS=('sysinit.target.wants', 'rescue.target.wants',
'network.target.wants', 'multi-user.target.wants',
'graphical.target.wants','shutdown.target.wants')
+
+# where scripts are sorted in a $SPELL/script way
+SCRIPTROOT="/lib/imp/scripts/systemd"
+
+# where the various libs are stored
+MODULEROOT="/lib/imp/modules/systemd"
+
+# where the init configuration files are stored
+CONFIGROOT="/etc/sysconfig"
diff --git a/template/system.conf b/template/system.conf
new file mode 100644
index 0000000..4e06319
--- /dev/null
+++ b/template/system.conf
@@ -0,0 +1,25 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# See systemd.conf(5) for details
+
+[Manager]
+#LogLevel=info
+#LogTarget=syslog-or-kmsg
+#LogColor=yes
+#LogLocation=no
+#DumpCore=yes
+#CrashShell=no
+#ShowStatus=yes
+#SysVConsole=yes
+#CrashChVT=1
+#CPUAffinity=1 2
+#MountAuto=yes
+#SwapAuto=yes
+#DefaultControllers=cpu
+#DefaultStandardOutput=inherit
+#DefaultStandardError=inherit
diff --git a/template/system/acpid.service b/template/system/acpid.service
new file mode 100644
index 0000000..5efe710
--- /dev/null
+++ b/template/system/acpid.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=ACPI Event Daemon
+After=syslog.target
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/acpid
+
+[Install]
+WantedBy=multi-user.target
diff --git a/template/system/auditd.service b/template/system/auditd.service
new file mode 100644
index 0000000..e69de29
diff --git a/template/system/basic.target b/template/system/basic.target
new file mode 100644
index 0000000..0258ca0
--- /dev/null
+++ b/template/system/basic.target
@@ -0,0 +1,14 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Basic System
+Requires=sysinit.target sockets.target
+After=sysinit.target sockets.target
+RefuseManualStart=yes
diff --git a/template/system/basic.target.wants/metalog.service
b/template/system/basic.target.wants/metalog.service
new file mode 120000
index 0000000..fca87c5
--- /dev/null
+++ b/template/system/basic.target.wants/metalog.service
@@ -0,0 +1 @@
+../metalog.service
\ No newline at end of file
diff --git a/template/system/basic.target.wants/systemd-tmpfiles-clean.timer
b/template/system/basic.target.wants/systemd-tmpfiles-clean.timer
new file mode 120000
index 0000000..ea23a64
--- /dev/null
+++ b/template/system/basic.target.wants/systemd-tmpfiles-clean.timer
@@ -0,0 +1 @@
+../systemd-tmpfiles-clean.timer
\ No newline at end of file
diff --git a/template/system/basic.target.wants/udev-trigger.service
b/template/system/basic.target.wants/udev-trigger.service
new file mode 120000
index 0000000..3df2146
--- /dev/null
+++ b/template/system/basic.target.wants/udev-trigger.service
@@ -0,0 +1 @@
+../udev-trigger.service
\ No newline at end of file
diff --git a/template/system/basic.target.wants/udev.service
b/template/system/basic.target.wants/udev.service
new file mode 120000
index 0000000..d94dbc1
--- /dev/null
+++ b/template/system/basic.target.wants/udev.service
@@ -0,0 +1 @@
+../udev.service
\ No newline at end of file
diff --git a/template/system/bluetooth.service
b/template/system/bluetooth.service
new file mode 100644
index 0000000..b9898a8
--- /dev/null
+++ b/template/system/bluetooth.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Bluetooth Manager
+After=syslog.target
+
+[Service]
+Type=dbus
+BusName=org.bluez
+ExecStart=/usr/sbin/bluetoothd -n
+StandardOutput=syslog
+
+[Install]
+WantedBy=bluetooth.target
diff --git a/template/system/bluetooth.target
b/template/system/bluetooth.target
new file mode 100644
index 0000000..c66718e
--- /dev/null
+++ b/template/system/bluetooth.target
@@ -0,0 +1,12 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Bluetooth
+StopWhenUnneeded=yes
diff --git a/template/system/console-kit-daemon.service
b/template/system/console-kit-daemon.service
new file mode 100644
index 0000000..d81d94f
--- /dev/null
+++ b/template/system/console-kit-daemon.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Console Manager
+After=syslog.target
+
+[Service]
+Type=dbus
+BusName=org.freedesktop.ConsoleKit
+ExecStart=/usr/sbin/console-kit-daemon --no-daemon
+
+[Install]
+WantedBy=graphical.target
diff --git a/template/system/console-shell.service
b/template/system/console-shell.service
new file mode 100644
index 0000000..bc3f743
--- /dev/null
+++ b/template/system/console-shell.service
@@ -0,0 +1,26 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Console Shell
+After=systemd-user-sessions.service plymouth-quit-wait.service
+Before=getty.target
+
+[Service]
+Environment=HOME=/root
+WorkingDirectory=/root
+ExecStart=-/sbin/sulogin
+ExecStopPost=-/bin/systemctl poweroff
+StandardInput=tty-force
+KillMode=process
+
+# Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash
+# terminates cleanly.
+KillSignal=SIGHUP
+
+[Install]
+WantedBy=getty.target
diff --git a/template/system/cryptsetup.target
b/template/system/cryptsetup.target
new file mode 100644
index 0000000..64ee8c6
--- /dev/null
+++ b/template/system/cryptsetup.target
@@ -0,0 +1,11 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Encrypted Volumes
diff --git a/template/system/ctrl-alt-del.target
b/template/system/ctrl-alt-del.target
new file mode 120000
index 0000000..f2fde43
--- /dev/null
+++ b/template/system/ctrl-alt-del.target
@@ -0,0 +1 @@
+reboot.target
\ No newline at end of file
diff --git a/template/system/cups.path b/template/system/cups.path
new file mode 100644
index 0000000..5eed5e5
--- /dev/null
+++ b/template/system/cups.path
@@ -0,0 +1,8 @@
+[Unit]
+Description=CUPS Printer Service Spool
+
+[Path]
+DirectoryNotEmpty=/var/spool/cups
+
+[Install]
+WantedBy=multi-user.target
diff --git a/template/system/cups.service b/template/system/cups.service
new file mode 100644
index 0000000..6b216b4
--- /dev/null
+++ b/template/system/cups.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=CUPS Printing Service
+Wants=portreserve.service
+After=portreserve.service
+
+[Service]
+ExecStartPre=/sbin/portrelease cups
+ExecStart=/usr/sbin/cupsd -f
+ExecStartPost=/sbin/udevadm trigger --subsystem-match=usb
--attr-match=bInterfaceClass=07 --attr-match=bInterfaceSubClass=01
+ExecStartPost=/sbin/udevadm trigger --subsystem-match=usb
--property-match=DEVNAME=/dev/usb/lp*
+
+[Install]
+Also=cups.socket cups.path
+WantedBy=printer.target
diff --git a/template/system/cups.socket b/template/system/cups.socket
new file mode 100644
index 0000000..1af5855
--- /dev/null
+++ b/template/system/cups.socket
@@ -0,0 +1,9 @@
+[Unit]
+Description=CUPS Printing Service Sockets
+
+[Socket]
+ListenStream=/run/cups/cups.sock
+ListenStream=631
+
+[Install]
+WantedBy=sockets.target
diff --git a/template/system/default.target b/template/system/default.target
new file mode 120000
index 0000000..a0aae86
--- /dev/null
+++ b/template/system/default.target
@@ -0,0 +1 @@
+graphical.target
\ No newline at end of file
diff --git a/template/system/dev-hugepages.automount
b/template/system/dev-hugepages.automount
new file mode 100644
index 0000000..dfd3868
--- /dev/null
+++ b/template/system/dev-hugepages.automount
@@ -0,0 +1,14 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Huge Pages File System Automount Point
+DefaultDependencies=no
+Before=sysinit.target
+
+[Automount]
+Where=/dev/hugepages
diff --git a/template/system/dev-hugepages.mount
b/template/system/dev-hugepages.mount
new file mode 100644
index 0000000..e6014e5
--- /dev/null
+++ b/template/system/dev-hugepages.mount
@@ -0,0 +1,15 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Huge Pages File System
+DefaultDependencies=no
+
+[Mount]
+What=hugetlbfs
+Where=/dev/hugepages
+Type=hugetlbfs
diff --git a/template/system/dev-mqueue.automount
b/template/system/dev-mqueue.automount
new file mode 100644
index 0000000..73c4110
--- /dev/null
+++ b/template/system/dev-mqueue.automount
@@ -0,0 +1,14 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=POSIX Message Queue File System Automount Point
+DefaultDependencies=no
+Before=sysinit.target
+
+[Automount]
+Where=/dev/mqueue
diff --git a/template/system/dev-mqueue.mount
b/template/system/dev-mqueue.mount
new file mode 100644
index 0000000..8519df5
--- /dev/null
+++ b/template/system/dev-mqueue.mount
@@ -0,0 +1,15 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=POSIX Message Queue File System
+DefaultDependencies=no
+
+[Mount]
+What=mqueue
+Where=/dev/mqueue
+Type=mqueue
diff --git a/template/system/dm.service b/template/system/dm.service
new file mode 120000
index 0000000..e9b4eb5
--- /dev/null
+++ b/template/system/dm.service
@@ -0,0 +1 @@
+lxdm.service
\ No newline at end of file
diff --git a/template/system/emergency.service
b/template/system/emergency.service
new file mode 100644
index 0000000..eff5261
--- /dev/null
+++ b/template/system/emergency.service
@@ -0,0 +1,28 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Emergency Shell
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=shutdown.target
+
+[Service]
+Environment=HOME=/root
+WorkingDirectory=/root
+ExecStartPre=-/bin/plymouth quit
+ExecStartPre=-/bin/echo 'Welcome to emergency mode. Use "systemctl default"
or ^D to activate default mode.'
+ExecStart=-/sbin/sulogin
+ExecStopPost=/bin/systemctl --fail --no-block default
+StandardInput=tty-force
+KillMode=process
+
+# Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash
+# terminates cleanly.
+KillSignal=SIGHUP
diff --git a/template/system/emergency.target
b/template/system/emergency.target
new file mode 100644
index 0000000..6a99e05
--- /dev/null
+++ b/template/system/emergency.target
@@ -0,0 +1,14 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Emergency Mode
+Requires=emergency.service
+After=emergency.service
+AllowIsolate=yes
diff --git a/template/system/final.target b/template/system/final.target
new file mode 100644
index 0000000..9cfda19
--- /dev/null
+++ b/template/system/final.target
@@ -0,0 +1,14 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Final Step
+DefaultDependencies=no
+RefuseManualStart=yes
+After=shutdown.target umount.target
diff --git a/template/system/fsck-root.service
b/template/system/fsck-root.service
new file mode 100644
index 0000000..483385a
--- /dev/null
+++ b/template/system/fsck-root.service
@@ -0,0 +1,23 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=File System Check on Root Device
+DefaultDependencies=no
+After=systemd-readahead-collect.service systemd-readahead-replay.service
+Before=local-fs.target shutdown.target
+
+# Dracut informs us with this flag file if the root fsck was already run
+ConditionPathExists=!/run/initramfs/root-fsck
+
+[Service]
+Type=oneshot
+RemainAfterExit=no
+ExecStart=/lib/systemd/systemd-fsck
+StandardOutput=syslog+console
+FsckPassNo=1
+TimeoutSec=0
diff --git a/template/system/fsck@.service b/template/system/fsck@.service
new file mode 100644
index 0000000..b830ab4
--- /dev/null
+++ b/template/system/fsck@.service
@@ -0,0 +1,20 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=File System Check on %f
+DefaultDependencies=no
+BindTo=%i.device
+After=systemd-readahead-collect.service systemd-readahead-replay.service
%i.device
+Before=shutdown.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=no
+ExecStart=/lib/systemd/systemd-fsck %f
+StandardOutput=syslog+console
+TimeoutSec=0
diff --git a/template/system/gdm.service b/template/system/gdm.service
new file mode 100644
index 0000000..917bd79
--- /dev/null
+++ b/template/system/gdm.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=Display Manager
+After=syslog.target local.service systemd-user-sessions.service hald.service
+
+[Service]
+ExecStart=/usr/sbin/gdm
+Restart=always
+RestartSec=1
diff --git a/template/system/getty.target b/template/system/getty.target
new file mode 100644
index 0000000..e4435dc
--- /dev/null
+++ b/template/system/getty.target
@@ -0,0 +1,9 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Login Prompts
diff --git a/template/system/getty.target.wants/getty AT tty1.service
b/template/system/getty.target.wants/getty AT tty1.service
new file mode 120000
index 0000000..facee85
--- /dev/null
+++ b/template/system/getty.target.wants/getty AT tty1.service
@@ -0,0 +1 @@
+/lib/systemd/system/getty@.service
\ No newline at end of file
diff --git a/template/system/getty.target.wants/getty AT tty2.service
b/template/system/getty.target.wants/getty AT tty2.service
new file mode 120000
index 0000000..facee85
--- /dev/null
+++ b/template/system/getty.target.wants/getty AT tty2.service
@@ -0,0 +1 @@
+/lib/systemd/system/getty@.service
\ No newline at end of file
diff --git a/template/system/getty.target.wants/getty AT tty3.service
b/template/system/getty.target.wants/getty AT tty3.service
new file mode 120000
index 0000000..facee85
--- /dev/null
+++ b/template/system/getty.target.wants/getty AT tty3.service
@@ -0,0 +1 @@
+/lib/systemd/system/getty@.service
\ No newline at end of file
diff --git a/template/system/getty.target.wants/getty AT tty4.service
b/template/system/getty.target.wants/getty AT tty4.service
new file mode 120000
index 0000000..facee85
--- /dev/null
+++ b/template/system/getty.target.wants/getty AT tty4.service
@@ -0,0 +1 @@
+/lib/systemd/system/getty@.service
\ No newline at end of file
diff --git a/template/system/getty.target.wants/getty AT tty5.service
b/template/system/getty.target.wants/getty AT tty5.service
new file mode 120000
index 0000000..facee85
--- /dev/null
+++ b/template/system/getty.target.wants/getty AT tty5.service
@@ -0,0 +1 @@
+/lib/systemd/system/getty@.service
\ No newline at end of file
diff --git a/template/system/getty.target.wants/getty AT tty6.service
b/template/system/getty.target.wants/getty AT tty6.service
new file mode 120000
index 0000000..facee85
--- /dev/null
+++ b/template/system/getty.target.wants/getty AT tty6.service
@@ -0,0 +1 @@
+/lib/systemd/system/getty@.service
\ No newline at end of file
diff --git a/template/system/getty@.service b/template/system/getty@.service
new file mode 100644
index 0000000..b778da3
--- /dev/null
+++ b/template/system/getty@.service
@@ -0,0 +1,35 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Getty on %I
+BindTo=dev-%i.device
+After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service
+
+# If additional gettys are spawned during boot then we should make
+# sure that this is synchronized before getty.target, even though
+# getty.target didn't actually pull it in.
+Before=getty.target
+
+[Service]
+Environment=TERM=linux
+ExecStart=-/sbin/agetty %I 38400
+Restart=always
+RestartSec=0
+UtmpIdentifier=%I
+KillMode=process
+
+# Unset locale for the console getty since the console has problems
+# displaying some internationalized messages.
+Environment=LANG= LC_CTYPE= LC_NUMERIC= LC_TIME= LC_COLLATE= LC_MONETARY=
LC_MESSAGES= LC_PAPER= LC_NAME= LC_ADDRESS= LC_TELEPHONE= LC_MEASUREMENT=
LC_IDENTIFICATION=
+
+# Some login implementations ignore SIGTERM, so we send SIGHUP
+# instead, to ensure that login terminates cleanly.
+KillSignal=SIGHUP
+
+[Install]
+Alias=getty.target.wants/getty AT tty1.service
getty.target.wants/getty AT tty2.service getty.target.wants/getty AT tty3.service
getty.target.wants/getty AT tty4.service getty.target.wants/getty AT tty5.service
getty.target.wants/getty AT tty6.service
diff --git a/template/system/gpm.service b/template/system/gpm.service
new file mode 100644
index 0000000..114490e
--- /dev/null
+++ b/template/system/gpm.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Console Mouse manager
+After=syslog.target
+
+[Service]
+ExecStart=/usr/sbin/gpm -m /dev/input/mice -t exps2 -D
+StandardOutput=syslog
+
+[Install]
+WantedBy=multi-user.target
diff --git a/template/system/graphical.target
b/template/system/graphical.target
new file mode 100644
index 0000000..f2e3034
--- /dev/null
+++ b/template/system/graphical.target
@@ -0,0 +1,18 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Graphical Interface
+Requires=multi-user.target
+After=multi-user.target
+Conflicts=rescue.target
+AllowIsolate=yes
+
+[Install]
+Alias=default.target
diff --git a/template/system/graphical.target.wants/dm.service
b/template/system/graphical.target.wants/dm.service
new file mode 120000
index 0000000..390c86e
--- /dev/null
+++ b/template/system/graphical.target.wants/dm.service
@@ -0,0 +1 @@
+../dm.service
\ No newline at end of file
diff --git a/template/system/halt.service b/template/system/halt.service
new file mode 100644
index 0000000..ec99b73
--- /dev/null
+++ b/template/system/halt.service
@@ -0,0 +1,16 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Halt
+DefaultDependencies=no
+Requires=shutdown.target umount.target final.target
+After=shutdown.target umount.target final.target
+
+[Service]
+Type=oneshot
+ExecStart=/bin/systemctl --force halt
diff --git a/template/system/halt.target b/template/system/halt.target
new file mode 100644
index 0000000..04b42cd
--- /dev/null
+++ b/template/system/halt.target
@@ -0,0 +1,18 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Halt
+DefaultDependencies=no
+Requires=halt.service
+After=halt.service
+AllowIsolate=yes
+
+[Install]
+Alias=ctrl-alt-del.target
diff --git a/template/system/http-daemon.target
b/template/system/http-daemon.target
new file mode 100644
index 0000000..45f1018
--- /dev/null
+++ b/template/system/http-daemon.target
@@ -0,0 +1,14 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+# This exists mostly for compatibility with SysV/LSB units, and
+# implementations lacking socket/bus activation.
+
+[Unit]
+Description=Web Server
diff --git a/template/system/hwclock-load.service
b/template/system/hwclock-load.service
new file mode 100644
index 0000000..f278a67
--- /dev/null
+++ b/template/system/hwclock-load.service
@@ -0,0 +1,34 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Apply System Clock UTC Offset
+DefaultDependencies=no
+Wants=time-sync.target
+Conflicts=shutdown.target
+After=systemd-readahead-collect.service systemd-readahead-replay.service
+Before=sysinit.target shutdown.target udev.service time-sync.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/sbin/hwclock --systz
+StandardOutput=syslog
+
+# Note the weird semantics of hwclock and the kernel here: the first
+# settimeofday() invocation from userspace is special and may be used
+# to set the offset from UTC of the system clock. It is independent
+# of any specific RTC device. This is mostly a crufty hack to support
+# legacy operating systems which insist on storing local time in the
+# RTC.
+
+# Note that we do not run --hctosys here, we assume the kernel
+# includes a compiled in RTC module which is used to initialize the
+# system time as part of kernel setup.
+
+[Install]
+WantedBy=sysinit.target
diff --git a/template/system/hwclock-save.service
b/template/system/hwclock-save.service
new file mode 100644
index 0000000..dedee76
--- /dev/null
+++ b/template/system/hwclock-save.service
@@ -0,0 +1,17 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Update RTC With System Clock
+DefaultDependencies=no
+After=hwclock-load.service
+Before=shutdown.target
+Conflicts=hwclock-load.service
+
+[Service]
+Type=oneshot
+ExecStart=/sbin/hwclock --systohc
diff --git a/template/system/kexec.service b/template/system/kexec.service
new file mode 100644
index 0000000..699044f
--- /dev/null
+++ b/template/system/kexec.service
@@ -0,0 +1,16 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Reboot via kexec
+DefaultDependencies=no
+Requires=shutdown.target umount.target final.target
+After=shutdown.target umount.target final.target
+
+[Service]
+Type=oneshot
+ExecStart=/bin/systemctl --force kexec
diff --git a/template/system/kexec.target b/template/system/kexec.target
new file mode 100644
index 0000000..b77e6a4
--- /dev/null
+++ b/template/system/kexec.target
@@ -0,0 +1,18 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Reboot via kexec
+DefaultDependencies=no
+Requires=kexec.service
+After=kexec.service
+AllowIsolate=yes
+
+[Install]
+Alias=ctrl-alt-del.target
diff --git a/template/system/libvirtd.service
b/template/system/libvirtd.service
new file mode 100644
index 0000000..5c2d261
--- /dev/null
+++ b/template/system/libvirtd.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Virtualization Manager
+After=syslog.target dnsmasq.service
+
+[Service]
+Type=forking
+RemainAfterExit=yes
+ExecStart=/usr/sbin/libvirtd -d
+PIDFile=/run/libvirtd.pid
+
+[Install]
+WantedBy=multi-user.target
diff --git a/template/system/local-fs.target b/template/system/local-fs.target
new file mode 100644
index 0000000..1886f74
--- /dev/null
+++ b/template/system/local-fs.target
@@ -0,0 +1,13 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Local File Systems
+OnFailure=emergency.target
+OnFailureIsolate=yes
diff --git a/template/system/local-fs.target.wants/fsck-root.service
b/template/system/local-fs.target.wants/fsck-root.service
new file mode 120000
index 0000000..28c349d
--- /dev/null
+++ b/template/system/local-fs.target.wants/fsck-root.service
@@ -0,0 +1 @@
+../fsck-root.service
\ No newline at end of file
diff --git a/template/system/local-fs.target.wants/media.mount
b/template/system/local-fs.target.wants/media.mount
new file mode 120000
index 0000000..81609d0
--- /dev/null
+++ b/template/system/local-fs.target.wants/media.mount
@@ -0,0 +1 @@
+../media.mount
\ No newline at end of file
diff --git a/template/system/local-fs.target.wants/remount-rootfs.service
b/template/system/local-fs.target.wants/remount-rootfs.service
new file mode 120000
index 0000000..dcdcc7c
--- /dev/null
+++ b/template/system/local-fs.target.wants/remount-rootfs.service
@@ -0,0 +1 @@
+../remount-rootfs.service
\ No newline at end of file
diff --git
a/template/system/local-fs.target.wants/systemd-remount-api-vfs.service
b/template/system/local-fs.target.wants/systemd-remount-api-vfs.service
new file mode 120000
index 0000000..85c213e
--- /dev/null
+++ b/template/system/local-fs.target.wants/systemd-remount-api-vfs.service
@@ -0,0 +1 @@
+../systemd-remount-api-vfs.service
\ No newline at end of file
diff --git a/template/system/local-fs.target.wants/var-lock.mount
b/template/system/local-fs.target.wants/var-lock.mount
new file mode 120000
index 0000000..8fe1e79
--- /dev/null
+++ b/template/system/local-fs.target.wants/var-lock.mount
@@ -0,0 +1 @@
+../var-lock.mount
\ No newline at end of file
diff --git a/template/system/local-fs.target.wants/var-run.mount
b/template/system/local-fs.target.wants/var-run.mount
new file mode 120000
index 0000000..30226fb
--- /dev/null
+++ b/template/system/local-fs.target.wants/var-run.mount
@@ -0,0 +1 @@
+../var-run.mount
\ No newline at end of file
diff --git a/template/system/local.service b/template/system/local.service
new file mode 100644
index 0000000..81ea071
--- /dev/null
+++ b/template/system/local.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Local User Startup Scripting
+After=sysinit.target
+Before=shutdown.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/etc/sysconfig/bootmisc
+ExecStop=/etc/sysconfig/haltmisc
+StandardOutput=syslog
+
+[Install]
+WantedBy=multi-user.target
diff --git a/template/system/lxdm.service b/template/system/lxdm.service
new file mode 100644
index 0000000..2cd215f
--- /dev/null
+++ b/template/system/lxdm.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=Display Manager
+After=syslog.target local.service systemd-user-sessions.service hald.service
+
+[Service]
+ExecStart=/usr/sbin/lxdm
+Restart=always
+RestartSec=1
diff --git a/template/system/mail-transfer-agent.target
b/template/system/mail-transfer-agent.target
new file mode 100644
index 0000000..ebb1ea1
--- /dev/null
+++ b/template/system/mail-transfer-agent.target
@@ -0,0 +1,14 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+# This exists mostly for compatibility with SysV/LSB units, and
+# implementations lacking socket/bus activation.
+
+[Unit]
+Description=Mail Transfer Agent
diff --git a/template/system/media-cdrom.automount
b/template/system/media-cdrom.automount
new file mode 100644
index 0000000..6be8f1f
--- /dev/null
+++ b/template/system/media-cdrom.automount
@@ -0,0 +1,7 @@
+[Unit]
+Description=Optical Drive Mount Point
+DefaultDependencies=no
+Before=sysinit.target
+
+[Automount]
+Where=/media/cdrom
diff --git a/template/system/media.mount b/template/system/media.mount
new file mode 100644
index 0000000..66a5a5c
--- /dev/null
+++ b/template/system/media.mount
@@ -0,0 +1,16 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Media Directory
+Before=local-fs.target
+
+[Mount]
+What=tmpfs
+Where=/media
+Type=tmpfs
+Options=mode=755,nosuid,nodev,noexec
diff --git a/template/system/metalog.service b/template/system/metalog.service
new file mode 100644
index 0000000..0d84362
--- /dev/null
+++ b/template/system/metalog.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=System Logging Service
+
+[Service]
+ExecStart=/sbin/metalog
+
+[Install]
+WantedBy=multi-user.target
diff --git a/template/system/metalog.socket b/template/system/metalog.socket
new file mode 100644
index 0000000..0cd8605
--- /dev/null
+++ b/template/system/metalog.socket
@@ -0,0 +1,8 @@
+[Unit]
+Description=Syslog Socket
+
+[Socket]
+ListenDatagram=/dev/log
+
+[Install]
+WantedBy=sockets.target
diff --git a/template/system/mpd.service b/template/system/mpd.service
new file mode 100644
index 0000000..8c246d5
--- /dev/null
+++ b/template/system/mpd.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Music Player Daemon Service
+After=syslog.target
+
+[Service]
+ExecStart=/usr/bin/mpd --no-daemon
+
+[Install]
+WantedBy=multi-user.target
diff --git a/template/system/mpd.service~ b/template/system/mpd.service~
new file mode 100644
index 0000000..64de509
--- /dev/null
+++ b/template/system/mpd.service~
@@ -0,0 +1,9 @@
+[Unit]
+Description=ProFTPd Server
+After=syslog.target
+
+[Service]
+ExecStart=/usr/sbin/proftpd -n
+
+[Install]
+WantedBy=multi-user.target
diff --git a/template/system/multi-user.target
b/template/system/multi-user.target
new file mode 100644
index 0000000..66f1a95
--- /dev/null
+++ b/template/system/multi-user.target
@@ -0,0 +1,18 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Multi-User
+Requires=basic.target
+Conflicts=rescue.service rescue.target
+After=basic.target rescue.service rescue.target
+AllowIsolate=yes
+
+[Install]
+Alias=default.target
diff --git a/template/system/multi-user.target.wants/dbus.service
b/template/system/multi-user.target.wants/dbus.service
new file mode 120000
index 0000000..224df24
--- /dev/null
+++ b/template/system/multi-user.target.wants/dbus.service
@@ -0,0 +1 @@
+../dbus.service
\ No newline at end of file
diff --git a/template/system/multi-user.target.wants/getty.target
b/template/system/multi-user.target.wants/getty.target
new file mode 120000
index 0000000..bdba1fe
--- /dev/null
+++ b/template/system/multi-user.target.wants/getty.target
@@ -0,0 +1 @@
+../getty.target
\ No newline at end of file
diff --git a/template/system/multi-user.target.wants/libvirtd.service
b/template/system/multi-user.target.wants/libvirtd.service
new file mode 120000
index 0000000..b2de326
--- /dev/null
+++ b/template/system/multi-user.target.wants/libvirtd.service
@@ -0,0 +1 @@
+../libvirtd.service
\ No newline at end of file
diff --git a/template/system/multi-user.target.wants/local.service
b/template/system/multi-user.target.wants/local.service
new file mode 120000
index 0000000..482b98f
--- /dev/null
+++ b/template/system/multi-user.target.wants/local.service
@@ -0,0 +1 @@
+../local.service
\ No newline at end of file
diff --git a/template/system/multi-user.target.wants/network.target
b/template/system/multi-user.target.wants/network.target
new file mode 120000
index 0000000..32deb0c
--- /dev/null
+++ b/template/system/multi-user.target.wants/network.target
@@ -0,0 +1 @@
+../network.target
\ No newline at end of file
diff --git a/template/system/multi-user.target.wants/remote-fs.target
b/template/system/multi-user.target.wants/remote-fs.target
new file mode 120000
index 0000000..840a3cb
--- /dev/null
+++ b/template/system/multi-user.target.wants/remote-fs.target
@@ -0,0 +1 @@
+/lib/systemd/system/remote-fs.target
\ No newline at end of file
diff --git
a/template/system/multi-user.target.wants/systemd-ask-password-wall.path
b/template/system/multi-user.target.wants/systemd-ask-password-wall.path
new file mode 120000
index 0000000..9d43ebb
--- /dev/null
+++ b/template/system/multi-user.target.wants/systemd-ask-password-wall.path
@@ -0,0 +1 @@
+../systemd-ask-password-wall.path
\ No newline at end of file
diff --git
a/template/system/multi-user.target.wants/systemd-user-sessions.service
b/template/system/multi-user.target.wants/systemd-user-sessions.service
new file mode 120000
index 0000000..f878b52
--- /dev/null
+++ b/template/system/multi-user.target.wants/systemd-user-sessions.service
@@ -0,0 +1 @@
+../systemd-user-sessions.service
\ No newline at end of file
diff --git a/template/system/netbios-names.service
b/template/system/netbios-names.service
new file mode 100644
index 0000000..4d16323
--- /dev/null
+++ b/template/system/netbios-names.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Samba NetBIOS name Service
+After=syslog.target
+
+[Service]
+ExecStart=/usr/sbin/nmbd -F -H -S
+
+[Install]
+WantedBy=multi-user.target
diff --git a/template/system/netbios-names.socket
b/template/system/netbios-names.socket
new file mode 100644
index 0000000..01e842a
--- /dev/null
+++ b/template/system/netbios-names.socket
@@ -0,0 +1,9 @@
+[Unit]
+Conflicts=netbios-names.service
+
+[Socket]
+ListenDatagram=137
+Accept=yes
+
+[Install]
+WantedBy=sockets.target
diff --git a/template/system/netbios-names@.service
b/template/system/netbios-names@.service
new file mode 100644
index 0000000..f146a36
--- /dev/null
+++ b/template/system/netbios-names@.service
@@ -0,0 +1,7 @@
+[Unit]
+Description=Samba NetBIOS name Service
+After=syslog.target
+
+[Service]
+ExecStart=/usr/sbin/nmbd -F
+StandardInput=socket
diff --git a/template/system/netbios-session.service
b/template/system/netbios-session.service
new file mode 100644
index 0000000..fcc55d7
--- /dev/null
+++ b/template/system/netbios-session.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Samba NetBIOS Session Service
+After=syslog.target
+
+[Service]
+ExecStart=/usr/sbin/smbd -F -S
+
+[Install]
+WantedBy=multi-user.target
diff --git a/template/system/netbios-session.socket
b/template/system/netbios-session.socket
new file mode 100644
index 0000000..9048dbc
--- /dev/null
+++ b/template/system/netbios-session.socket
@@ -0,0 +1,9 @@
+[Unit]
+Conflicts=netbios-session.service
+
+[Socket]
+ListenStream=139
+Accept=yes
+
+[Install]
+WantedBy=sockets.target
diff --git a/template/system/netbios-session@.service
b/template/system/netbios-session@.service
new file mode 100644
index 0000000..9c89d17
--- /dev/null
+++ b/template/system/netbios-session@.service
@@ -0,0 +1,7 @@
+[Unit]
+Description=Samba NetBIOS Session Service
+After=syslog.target
+
+[Service]
+ExecStart=/usr/sbin/smbd -F
+StandardInput=socket
diff --git a/template/system/network.target b/template/system/network.target
new file mode 100644
index 0000000..d97f64f
--- /dev/null
+++ b/template/system/network.target
@@ -0,0 +1,11 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Network
diff --git a/template/system/network.target.wants/http-daemon.target
b/template/system/network.target.wants/http-daemon.target
new file mode 120000
index 0000000..7f62e78
--- /dev/null
+++ b/template/system/network.target.wants/http-daemon.target
@@ -0,0 +1 @@
+../http-daemon.target
\ No newline at end of file
diff --git a/template/system/network.target.wants/mail-transfer-agent.target
b/template/system/network.target.wants/mail-transfer-agent.target
new file mode 120000
index 0000000..4181f17
--- /dev/null
+++ b/template/system/network.target.wants/mail-transfer-agent.target
@@ -0,0 +1 @@
+../mail-transfer-agent.target
\ No newline at end of file
diff --git a/template/system/network.target.wants/netbios-names.service
b/template/system/network.target.wants/netbios-names.service
new file mode 120000
index 0000000..a58ce44
--- /dev/null
+++ b/template/system/network.target.wants/netbios-names.service
@@ -0,0 +1 @@
+../netbios-names.service
\ No newline at end of file
diff --git a/template/system/network.target.wants/netbios-session.service
b/template/system/network.target.wants/netbios-session.service
new file mode 120000
index 0000000..d1ad8c5
--- /dev/null
+++ b/template/system/network.target.wants/netbios-session.service
@@ -0,0 +1 @@
+../netbios-session.service
\ No newline at end of file
diff --git a/template/system/network.target.wants/proftpd.service
b/template/system/network.target.wants/proftpd.service
new file mode 120000
index 0000000..289c6ef
--- /dev/null
+++ b/template/system/network.target.wants/proftpd.service
@@ -0,0 +1 @@
+../proftpd.service
\ No newline at end of file
diff --git a/template/system/network.target.wants/remote-fs.target
b/template/system/network.target.wants/remote-fs.target
new file mode 120000
index 0000000..840a3cb
--- /dev/null
+++ b/template/system/network.target.wants/remote-fs.target
@@ -0,0 +1 @@
+/lib/systemd/system/remote-fs.target
\ No newline at end of file
diff --git a/template/system/network.target.wants/sshd.service
b/template/system/network.target.wants/sshd.service
new file mode 120000
index 0000000..d41264e
--- /dev/null
+++ b/template/system/network.target.wants/sshd.service
@@ -0,0 +1 @@
+../sshd.service
\ No newline at end of file
diff --git a/template/system/network.target.wants/wicd.service
b/template/system/network.target.wants/wicd.service
new file mode 120000
index 0000000..53b4883
--- /dev/null
+++ b/template/system/network.target.wants/wicd.service
@@ -0,0 +1 @@
+../wicd.service
\ No newline at end of file
diff --git a/template/system/nss-lookup.target
b/template/system/nss-lookup.target
new file mode 100644
index 0000000..bdca03c
--- /dev/null
+++ b/template/system/nss-lookup.target
@@ -0,0 +1,15 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+# This exists mostly for compatibility with SysV/LSB units, and
+# implementations lacking socket/bus activation.
+
+[Unit]
+Description=Name Lookups
+After=network.target
diff --git a/template/system/ntpd.service b/template/system/ntpd.service
new file mode 100644
index 0000000..6c4cef5
--- /dev/null
+++ b/template/system/ntpd.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Network Time Service
+After=syslog.target
+
+[Service]
+ExecStart=/usr/sbin/ntpd -n
+
+[Install]
+WantedBy=multi-user.target
diff --git a/template/system/polkitd.service b/template/system/polkitd.service
new file mode 100644
index 0000000..e302e93
--- /dev/null
+++ b/template/system/polkitd.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Policy Manager
+After=syslog.target
+
+[Service]
+Type=dbus
+BusName=org.freedesktop.PolicyKit1
+ExecStart=/usr/libexec/polkit-1/polkitd
+StandardOutput=syslog
+
+[Install]
+WantedBy=graphical.target
diff --git a/template/system/portmap.service b/template/system/portmap.service
new file mode 100644
index 0000000..4166461
--- /dev/null
+++ b/template/system/portmap.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Portmap Service
+After=syslog.target
+
+[Service]
+ExecStart=/sbin/portmap -f
+
+[Install]
+Also=portmap.socket
diff --git a/template/system/portmap.socket b/template/system/portmap.socket
new file mode 100644
index 0000000..5b516ac
--- /dev/null
+++ b/template/system/portmap.socket
@@ -0,0 +1,13 @@
+[Unit]
+Description=RPC Portmapper Socket
+
+[Socket]
+ListenStream=/var/run/rpcbind.sock
+ListenStream=[::]:111
+ListenDatagram=[::]:111
+ListenStream=0.0.0.0:111
+ListenDatagram=0.0.0.0:111
+BindIPv6Only=yes
+
+[Install]
+WantedBy=sockets.target
diff --git a/template/system/poweroff.service
b/template/system/poweroff.service
new file mode 100644
index 0000000..1bff44f
--- /dev/null
+++ b/template/system/poweroff.service
@@ -0,0 +1,16 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Power-Off
+DefaultDependencies=no
+Requires=shutdown.target umount.target final.target
+After=shutdown.target umount.target final.target
+
+[Service]
+Type=oneshot
+ExecStart=/bin/systemctl --force poweroff
diff --git a/template/system/poweroff.target b/template/system/poweroff.target
new file mode 100644
index 0000000..d2ccf4b
--- /dev/null
+++ b/template/system/poweroff.target
@@ -0,0 +1,18 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Power-Off
+DefaultDependencies=no
+Requires=poweroff.service
+After=poweroff.service
+AllowIsolate=yes
+
+[Install]
+Alias=ctrl-alt-del.target
diff --git a/template/system/printer.target b/template/system/printer.target
new file mode 100644
index 0000000..14c90ff
--- /dev/null
+++ b/template/system/printer.target
@@ -0,0 +1,12 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Printer
+StopWhenUnneeded=yes
diff --git a/template/system/proc-sys-fs-binfmt_misc.automount
b/template/system/proc-sys-fs-binfmt_misc.automount
new file mode 100644
index 0000000..91f49ef
--- /dev/null
+++ b/template/system/proc-sys-fs-binfmt_misc.automount
@@ -0,0 +1,14 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Arbitrary Executable File Formats File System Automount Point
+DefaultDependencies=no
+Before=sysinit.target
+
+[Automount]
+Where=/proc/sys/fs/binfmt_misc
diff --git a/template/system/proc-sys-fs-binfmt_misc.mount
b/template/system/proc-sys-fs-binfmt_misc.mount
new file mode 100644
index 0000000..1829c21
--- /dev/null
+++ b/template/system/proc-sys-fs-binfmt_misc.mount
@@ -0,0 +1,15 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Arbitrary Executable File Formats File System
+DefaultDependencies=no
+
+[Mount]
+What=binfmt_misc
+Where=/proc/sys/fs/binfmt_misc
+Type=binfmt_misc
diff --git a/template/system/proftpd.service b/template/system/proftpd.service
new file mode 100644
index 0000000..64de509
--- /dev/null
+++ b/template/system/proftpd.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=ProFTPd Server
+After=syslog.target
+
+[Service]
+ExecStart=/usr/sbin/proftpd -n
+
+[Install]
+WantedBy=multi-user.target
diff --git a/template/system/proftpd.socket b/template/system/proftpd.socket
new file mode 100644
index 0000000..dd3fcbf
--- /dev/null
+++ b/template/system/proftpd.socket
@@ -0,0 +1,9 @@
+[Unit]
+Conflicts=proftpd.service
+
+[Socket]
+ListenStream=21
+Accept=yes
+
+[Install]
+WantedBy=sockets.target
diff --git a/template/system/quotacheck.service
b/template/system/quotacheck.service
new file mode 100644
index 0000000..9014869
--- /dev/null
+++ b/template/system/quotacheck.service
@@ -0,0 +1,20 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=File System Quota Check
+DefaultDependencies=no
+After=systemd-readahead-collect.service systemd-readahead-replay.service
remount-rootfs.service
+Before=local-fs.target shutdown.target
+ConditionPathExists=/sbin/quotacheck
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/lib/systemd/systemd-quotacheck
+StandardOutput=syslog
+TimeoutSec=0
diff --git a/template/system/quotaon.service b/template/system/quotaon.service
new file mode 100644
index 0000000..2c7b36b
--- /dev/null
+++ b/template/system/quotaon.service
@@ -0,0 +1,19 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Enable File System Quotas
+DefaultDependencies=no
+After=systemd-readahead-collect.service systemd-readahead-replay.service
quotacheck.service
+Before=local-fs.target shutdown.target
+ConditionPathExists=/sbin/quotaon
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/sbin/quotaon -aug
+StandardOutput=syslog
diff --git a/template/system/reboot.service b/template/system/reboot.service
new file mode 100644
index 0000000..ea88083
--- /dev/null
+++ b/template/system/reboot.service
@@ -0,0 +1,16 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Reboot
+DefaultDependencies=no
+Requires=shutdown.target umount.target final.target
+After=shutdown.target umount.target final.target
+
+[Service]
+Type=oneshot
+ExecStart=/bin/systemctl --force reboot
diff --git a/template/system/reboot.target b/template/system/reboot.target
new file mode 100644
index 0000000..41e133c
--- /dev/null
+++ b/template/system/reboot.target
@@ -0,0 +1,18 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Reboot
+DefaultDependencies=no
+Requires=reboot.service
+After=reboot.service
+AllowIsolate=yes
+
+[Install]
+Alias=ctrl-alt-del.target
diff --git a/template/system/remote-fs.target
b/template/system/remote-fs.target
new file mode 100644
index 0000000..fc3098b
--- /dev/null
+++ b/template/system/remote-fs.target
@@ -0,0 +1,15 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Remote File Systems
+After=network.target
+
+[Install]
+WantedBy=multi-user.target
diff --git a/template/system/remount-rootfs.service
b/template/system/remount-rootfs.service
new file mode 100644
index 0000000..e95023f
--- /dev/null
+++ b/template/system/remount-rootfs.service
@@ -0,0 +1,19 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Remount Root FS
+DefaultDependencies=no
+Conflicts=shutdown.target
+After=systemd-readahead-collect.service systemd-readahead-replay.service
fsck-root.service
+Before=local-fs.target shutdown.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/bin/mount / -o remount
+StandardOutput=syslog
diff --git a/template/system/rescue.service b/template/system/rescue.service
new file mode 100644
index 0000000..fff7c85
--- /dev/null
+++ b/template/system/rescue.service
@@ -0,0 +1,30 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Rescue Shell
+DefaultDependencies=no
+Conflicts=shutdown.target
+After=basic.target
+Before=shutdown.target
+
+[Service]
+Environment=HOME=/root
+WorkingDirectory=/root
+ExecStartPre=-/bin/plymouth quit
+ExecStartPre=-/bin/echo 'Welcome to rescue mode. Use "systemctl default" or
^D to activate default mode.'
+ExecStart=-/sbin/sulogin
+
+ExecStopPost=-/bin/systemctl --fail --no-block default
+StandardInput=tty-force
+KillMode=process
+
+# Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash
+# terminates cleanly.
+KillSignal=SIGHUP
diff --git a/template/system/rescue.target b/template/system/rescue.target
new file mode 100644
index 0000000..5bf3f8e
--- /dev/null
+++ b/template/system/rescue.target
@@ -0,0 +1,17 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Rescue Mode
+Requires=basic.target rescue.service
+After=basic.target rescue.service
+AllowIsolate=yes
+
+[Install]
+Alias=kbrequest.target
diff --git a/template/system/rpcbind.target b/template/system/rpcbind.target
new file mode 100644
index 0000000..a5cea8c
--- /dev/null
+++ b/template/system/rpcbind.target
@@ -0,0 +1,14 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+# This exists mostly for compatibility with SysV/LSB units, and
+# implementations lacking socket/bus activation.
+
+[Unit]
+Description=RPC Port Mapper
diff --git a/template/system/rtc-set.target b/template/system/rtc-set.target
new file mode 100644
index 0000000..58bcd82
--- /dev/null
+++ b/template/system/rtc-set.target
@@ -0,0 +1,2 @@
+[Unit]
+Description=RTC Set
diff --git a/template/system/runlevel0.target
b/template/system/runlevel0.target
new file mode 120000
index 0000000..fe6c668
--- /dev/null
+++ b/template/system/runlevel0.target
@@ -0,0 +1 @@
+poweroff.target
\ No newline at end of file
diff --git a/template/system/runlevel1.target
b/template/system/runlevel1.target
new file mode 120000
index 0000000..eedb17f
--- /dev/null
+++ b/template/system/runlevel1.target
@@ -0,0 +1 @@
+rescue.target
\ No newline at end of file
diff --git a/template/system/runlevel1.target.wants
b/template/system/runlevel1.target.wants
new file mode 120000
index 0000000..10b3997
--- /dev/null
+++ b/template/system/runlevel1.target.wants
@@ -0,0 +1 @@
+rescue.target.wants/
\ No newline at end of file
diff --git a/template/system/runlevel2.target
b/template/system/runlevel2.target
new file mode 120000
index 0000000..19c4c93
--- /dev/null
+++ b/template/system/runlevel2.target
@@ -0,0 +1 @@
+multi-user.target
\ No newline at end of file
diff --git a/template/system/runlevel2.target.wants
b/template/system/runlevel2.target.wants
new file mode 120000
index 0000000..a1d108a
--- /dev/null
+++ b/template/system/runlevel2.target.wants
@@ -0,0 +1 @@
+multi-user.target.wants
\ No newline at end of file
diff --git a/template/system/runlevel3.target
b/template/system/runlevel3.target
new file mode 120000
index 0000000..19c4c93
--- /dev/null
+++ b/template/system/runlevel3.target
@@ -0,0 +1 @@
+multi-user.target
\ No newline at end of file
diff --git a/template/system/runlevel3.target.wants
b/template/system/runlevel3.target.wants
new file mode 120000
index 0000000..a1d108a
--- /dev/null
+++ b/template/system/runlevel3.target.wants
@@ -0,0 +1 @@
+multi-user.target.wants
\ No newline at end of file
diff --git a/template/system/runlevel4.target
b/template/system/runlevel4.target
new file mode 120000
index 0000000..19c4c93
--- /dev/null
+++ b/template/system/runlevel4.target
@@ -0,0 +1 @@
+multi-user.target
\ No newline at end of file
diff --git a/template/system/runlevel4.target.wants
b/template/system/runlevel4.target.wants
new file mode 120000
index 0000000..a1d108a
--- /dev/null
+++ b/template/system/runlevel4.target.wants
@@ -0,0 +1 @@
+multi-user.target.wants
\ No newline at end of file
diff --git a/template/system/runlevel5.target
b/template/system/runlevel5.target
new file mode 120000
index 0000000..a0aae86
--- /dev/null
+++ b/template/system/runlevel5.target
@@ -0,0 +1 @@
+graphical.target
\ No newline at end of file
diff --git a/template/system/runlevel5.target.wants
b/template/system/runlevel5.target.wants
new file mode 120000
index 0000000..272852e
--- /dev/null
+++ b/template/system/runlevel5.target.wants
@@ -0,0 +1 @@
+graphical.target.wants
\ No newline at end of file
diff --git a/template/system/runlevel6.target
b/template/system/runlevel6.target
new file mode 120000
index 0000000..f2fde43
--- /dev/null
+++ b/template/system/runlevel6.target
@@ -0,0 +1 @@
+reboot.target
\ No newline at end of file
diff --git a/template/system/serial-getty@.service
b/template/system/serial-getty@.service
new file mode 100644
index 0000000..fb87f45
--- /dev/null
+++ b/template/system/serial-getty@.service
@@ -0,0 +1,28 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Serial Getty on %I
+BindTo=dev-%i.device
+After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service
+
+# If additional gettys are spawned during boot then we should make
+# sure that this is synchronized before getty.target, even though
+# getty.target didn't actually pull it in.
+Before=getty.target
+
+[Service]
+Environment=TERM=vt100
+ExecStart=-/sbin/agetty -s %I 115200,38400,9600
+Restart=always
+RestartSec=0
+UtmpIdentifier=%I
+KillMode=process
+
+# Some login implementations ignore SIGTERM, so we send SIGHUP
+# instead, to ensure that login terminates cleanly.
+KillSignal=SIGHUP
diff --git a/template/system/shutdown.target b/template/system/shutdown.target
new file mode 100644
index 0000000..99a659e
--- /dev/null
+++ b/template/system/shutdown.target
@@ -0,0 +1,13 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Shutdown
+DefaultDependencies=no
+RefuseManualStart=yes
diff --git a/template/system/shutdown.target.wants/hwclock-save.service
b/template/system/shutdown.target.wants/hwclock-save.service
new file mode 120000
index 0000000..481232a
--- /dev/null
+++ b/template/system/shutdown.target.wants/hwclock-save.service
@@ -0,0 +1 @@
+../hwclock-save.service
\ No newline at end of file
diff --git
a/template/system/shutdown.target.wants/systemd-random-seed-save.service
b/template/system/shutdown.target.wants/systemd-random-seed-save.service
new file mode 120000
index 0000000..8f88915
--- /dev/null
+++ b/template/system/shutdown.target.wants/systemd-random-seed-save.service
@@ -0,0 +1 @@
+../systemd-random-seed-save.service
\ No newline at end of file
diff --git
a/template/system/shutdown.target.wants/systemd-update-utmp-shutdown.service
b/template/system/shutdown.target.wants/systemd-update-utmp-shutdown.service
new file mode 120000
index 0000000..b40ca16
--- /dev/null
+++
b/template/system/shutdown.target.wants/systemd-update-utmp-shutdown.service
@@ -0,0 +1 @@
+../systemd-update-utmp-shutdown.service
\ No newline at end of file
diff --git a/template/system/sigpwr.target b/template/system/sigpwr.target
new file mode 100644
index 0000000..0ca502d
--- /dev/null
+++ b/template/system/sigpwr.target
@@ -0,0 +1,11 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Power Failure
diff --git a/template/system/smartcard.target
b/template/system/smartcard.target
new file mode 100644
index 0000000..28dd2bb
--- /dev/null
+++ b/template/system/smartcard.target
@@ -0,0 +1,12 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Smart Card
+StopWhenUnneeded=yes
diff --git a/template/system/sockets.target b/template/system/sockets.target
new file mode 100644
index 0000000..2296312
--- /dev/null
+++ b/template/system/sockets.target
@@ -0,0 +1,11 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Sockets
diff --git a/template/system/sockets.target.wants/dbus.socket
b/template/system/sockets.target.wants/dbus.socket
new file mode 120000
index 0000000..fe02d16
--- /dev/null
+++ b/template/system/sockets.target.wants/dbus.socket
@@ -0,0 +1 @@
+../dbus.socket
\ No newline at end of file
diff --git a/template/system/sockets.target.wants/syslog.socket
b/template/system/sockets.target.wants/syslog.socket
new file mode 120000
index 0000000..3187523
--- /dev/null
+++ b/template/system/sockets.target.wants/syslog.socket
@@ -0,0 +1 @@
+../syslog.socket
\ No newline at end of file
diff --git a/template/system/sockets.target.wants/systemd-initctl.socket
b/template/system/sockets.target.wants/systemd-initctl.socket
new file mode 120000
index 0000000..0bf5276
--- /dev/null
+++ b/template/system/sockets.target.wants/systemd-initctl.socket
@@ -0,0 +1 @@
+../systemd-initctl.socket
\ No newline at end of file
diff --git a/template/system/sockets.target.wants/systemd-logger.socket
b/template/system/sockets.target.wants/systemd-logger.socket
new file mode 120000
index 0000000..4ce0a61
--- /dev/null
+++ b/template/system/sockets.target.wants/systemd-logger.socket
@@ -0,0 +1 @@
+../systemd-logger.socket
\ No newline at end of file
diff --git a/template/system/sockets.target.wants/systemd-shutdownd.socket
b/template/system/sockets.target.wants/systemd-shutdownd.socket
new file mode 120000
index 0000000..aa23208
--- /dev/null
+++ b/template/system/sockets.target.wants/systemd-shutdownd.socket
@@ -0,0 +1 @@
+../systemd-shutdownd.socket
\ No newline at end of file
diff --git a/template/system/sockets.target.wants/udev.socket
b/template/system/sockets.target.wants/udev.socket
new file mode 120000
index 0000000..95e0eb5
--- /dev/null
+++ b/template/system/sockets.target.wants/udev.socket
@@ -0,0 +1 @@
+../udev.socket
\ No newline at end of file
diff --git a/template/system/sound.target b/template/system/sound.target
new file mode 100644
index 0000000..e53221c
--- /dev/null
+++ b/template/system/sound.target
@@ -0,0 +1,12 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Sound Card
+StopWhenUnneeded=yes
diff --git a/template/system/sshd.service b/template/system/sshd.service
new file mode 100644
index 0000000..12db5d0
--- /dev/null
+++ b/template/system/sshd.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=SSH Secure Shell Service
+After=syslog.target
+
+[Service]
+ExecStart=/usr/sbin/sshd -D
+
+[Install]
+WantedBy=multi-user.target
diff --git a/template/system/sshd.socket b/template/system/sshd.socket
new file mode 100644
index 0000000..fd68407
--- /dev/null
+++ b/template/system/sshd.socket
@@ -0,0 +1,9 @@
+[Unit]
+Conflicts=sshd.service
+
+[Socket]
+ListenStream=22
+Accept=yes
+
+[Install]
+WantedBy=sockets.target
diff --git a/template/system/sshd@.service b/template/system/sshd@.service
new file mode 100644
index 0000000..b81d471
--- /dev/null
+++ b/template/system/sshd@.service
@@ -0,0 +1,7 @@
+[Unit]
+Description=SSH Per-Connection Server
+After=syslog.target
+
+[Service]
+ExecStart=/usr/sbin/sshd -i
+StandardInput=socket
diff --git a/template/system/swap.target b/template/system/swap.target
new file mode 100644
index 0000000..26dd261
--- /dev/null
+++ b/template/system/swap.target
@@ -0,0 +1,11 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Swap
diff --git a/template/system/sys-kernel-debug.automount
b/template/system/sys-kernel-debug.automount
new file mode 100644
index 0000000..f856a87
--- /dev/null
+++ b/template/system/sys-kernel-debug.automount
@@ -0,0 +1,14 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Debug File System Automount Point
+DefaultDependencies=no
+Before=sysinit.target
+
+[Automount]
+Where=/sys/kernel/debug
diff --git a/template/system/sys-kernel-debug.mount
b/template/system/sys-kernel-debug.mount
new file mode 100644
index 0000000..53d1072
--- /dev/null
+++ b/template/system/sys-kernel-debug.mount
@@ -0,0 +1,15 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Debug File System
+DefaultDependencies=no
+
+[Mount]
+What=debugfs
+Where=/sys/kernel/debug
+Type=debugfs
diff --git a/template/system/sys-kernel-security.automount
b/template/system/sys-kernel-security.automount
new file mode 100644
index 0000000..cd13e4a
--- /dev/null
+++ b/template/system/sys-kernel-security.automount
@@ -0,0 +1,14 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Security File System Automount Point
+DefaultDependencies=no
+Before=sysinit.target
+
+[Automount]
+Where=/sys/kernel/security
diff --git a/template/system/sys-kernel-security.mount
b/template/system/sys-kernel-security.mount
new file mode 100644
index 0000000..770207f
--- /dev/null
+++ b/template/system/sys-kernel-security.mount
@@ -0,0 +1,15 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Security File System
+DefaultDependencies=no
+
+[Mount]
+What=securityfs
+Where=/sys/kernel/security
+Type=securityfs
diff --git a/template/system/sysinit.target b/template/system/sysinit.target
new file mode 100644
index 0000000..eb9a1c7
--- /dev/null
+++ b/template/system/sysinit.target
@@ -0,0 +1,15 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=System Initialization
+Conflicts=emergency.service emergency.target
+Wants=local-fs.target swap.target
+After=local-fs.target swap.target emergency.service emergency.target
+RefuseManualStart=yes
diff --git a/template/system/sysinit.target.wants/cryptsetup.target
b/template/system/sysinit.target.wants/cryptsetup.target
new file mode 120000
index 0000000..57afad4
--- /dev/null
+++ b/template/system/sysinit.target.wants/cryptsetup.target
@@ -0,0 +1 @@
+../cryptsetup.target
\ No newline at end of file
diff --git a/template/system/sysinit.target.wants/dev-hugepages.automount
b/template/system/sysinit.target.wants/dev-hugepages.automount
new file mode 120000
index 0000000..b651dbf
--- /dev/null
+++ b/template/system/sysinit.target.wants/dev-hugepages.automount
@@ -0,0 +1 @@
+../dev-hugepages.automount
\ No newline at end of file
diff --git a/template/system/sysinit.target.wants/dev-mqueue.automount
b/template/system/sysinit.target.wants/dev-mqueue.automount
new file mode 120000
index 0000000..88bf743
--- /dev/null
+++ b/template/system/sysinit.target.wants/dev-mqueue.automount
@@ -0,0 +1 @@
+../dev-mqueue.automount
\ No newline at end of file
diff --git
a/template/system/sysinit.target.wants/proc-sys-fs-binfmt_misc.automount
b/template/system/sysinit.target.wants/proc-sys-fs-binfmt_misc.automount
new file mode 120000
index 0000000..0b7f61f
--- /dev/null
+++ b/template/system/sysinit.target.wants/proc-sys-fs-binfmt_misc.automount
@@ -0,0 +1 @@
+../proc-sys-fs-binfmt_misc.automount
\ No newline at end of file
diff --git a/template/system/sysinit.target.wants/sys-kernel-debug.automount
b/template/system/sysinit.target.wants/sys-kernel-debug.automount
new file mode 120000
index 0000000..ec93545
--- /dev/null
+++ b/template/system/sysinit.target.wants/sys-kernel-debug.automount
@@ -0,0 +1 @@
+../sys-kernel-debug.automount
\ No newline at end of file
diff --git
a/template/system/sysinit.target.wants/sys-kernel-security.automount
b/template/system/sysinit.target.wants/sys-kernel-security.automount
new file mode 120000
index 0000000..a726196
--- /dev/null
+++ b/template/system/sysinit.target.wants/sys-kernel-security.automount
@@ -0,0 +1 @@
+../sys-kernel-security.automount
\ No newline at end of file
diff --git
a/template/system/sysinit.target.wants/systemd-ask-password-console.path
b/template/system/sysinit.target.wants/systemd-ask-password-console.path
new file mode 120000
index 0000000..3e859f8
--- /dev/null
+++ b/template/system/sysinit.target.wants/systemd-ask-password-console.path
@@ -0,0 +1 @@
+../systemd-ask-password-console.path
\ No newline at end of file
diff --git a/template/system/sysinit.target.wants/systemd-binfmt.service
b/template/system/sysinit.target.wants/systemd-binfmt.service
new file mode 120000
index 0000000..07fbee1
--- /dev/null
+++ b/template/system/sysinit.target.wants/systemd-binfmt.service
@@ -0,0 +1 @@
+../systemd-binfmt.service
\ No newline at end of file
diff --git
a/template/system/sysinit.target.wants/systemd-kmsg-syslogd.service
b/template/system/sysinit.target.wants/systemd-kmsg-syslogd.service
new file mode 120000
index 0000000..8813980
--- /dev/null
+++ b/template/system/sysinit.target.wants/systemd-kmsg-syslogd.service
@@ -0,0 +1 @@
+../systemd-kmsg-syslogd.service
\ No newline at end of file
diff --git
a/template/system/sysinit.target.wants/systemd-modules-load.service
b/template/system/sysinit.target.wants/systemd-modules-load.service
new file mode 120000
index 0000000..7933769
--- /dev/null
+++ b/template/system/sysinit.target.wants/systemd-modules-load.service
@@ -0,0 +1 @@
+../systemd-modules-load.service
\ No newline at end of file
diff --git
a/template/system/sysinit.target.wants/systemd-random-seed-load.service
b/template/system/sysinit.target.wants/systemd-random-seed-load.service
new file mode 120000
index 0000000..700b30f
--- /dev/null
+++ b/template/system/sysinit.target.wants/systemd-random-seed-load.service
@@ -0,0 +1 @@
+../systemd-random-seed-load.service
\ No newline at end of file
diff --git a/template/system/sysinit.target.wants/systemd-sysctl.service
b/template/system/sysinit.target.wants/systemd-sysctl.service
new file mode 120000
index 0000000..fb5fbf0
--- /dev/null
+++ b/template/system/sysinit.target.wants/systemd-sysctl.service
@@ -0,0 +1 @@
+../systemd-sysctl.service
\ No newline at end of file
diff --git
a/template/system/sysinit.target.wants/systemd-tmpfiles-setup.service
b/template/system/sysinit.target.wants/systemd-tmpfiles-setup.service
new file mode 120000
index 0000000..12744a3
--- /dev/null
+++ b/template/system/sysinit.target.wants/systemd-tmpfiles-setup.service
@@ -0,0 +1 @@
+../systemd-tmpfiles-setup.service
\ No newline at end of file
diff --git
a/template/system/sysinit.target.wants/systemd-vconsole-setup.service
b/template/system/sysinit.target.wants/systemd-vconsole-setup.service
new file mode 120000
index 0000000..78347c3
--- /dev/null
+++ b/template/system/sysinit.target.wants/systemd-vconsole-setup.service
@@ -0,0 +1 @@
+../systemd-vconsole-setup.service
\ No newline at end of file
diff --git a/template/system/syslog.socket b/template/system/syslog.socket
new file mode 100644
index 0000000..500bb7c
--- /dev/null
+++ b/template/system/syslog.socket
@@ -0,0 +1,30 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Syslog Socket
+DefaultDependencies=no
+Before=sockets.target syslog.target
+
+# Pull in syslog.target to tell people that /dev/log is now accessible
+Wants=syslog.target
+
+[Socket]
+ListenDatagram=/dev/log
+SocketMode=0666
+
+# The service we activate on incoming traffic is
+# systemd-kmsg-syslogd.service. That doesn't mean however, that this
+# is the main syslog daemon in the system. Another syslog
+# implementation (which might be started via on-boot or another
+# non-socket activation) can take over possession of the socket and
+# terminate systemd-kmsg-syslogd. It could also simply replace the
+# socket in the file system, and leave systemd-kmsg-syslogd untouched.
+
+Service=systemd-kmsg-syslogd.service
diff --git a/template/system/syslog.target b/template/system/syslog.target
new file mode 100644
index 0000000..825b26e
--- /dev/null
+++ b/template/system/syslog.target
@@ -0,0 +1,19 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+# This exists mostly for compatibility with SysV/LSB units, and
+# implementations lacking socket/bus activation.
+
+[Unit]
+Description=Syslog
+
+# Avoid that we conflict with shutdown.target, so that we can stay
+# until the very end and do not cancel shutdown.target if we should
+# hapen to be activated very late.
+DefaultDependencies=no
diff --git a/template/system/systemd-ask-password-console.path
b/template/system/systemd-ask-password-console.path
new file mode 100644
index 0000000..b5acf94
--- /dev/null
+++ b/template/system/systemd-ask-password-console.path
@@ -0,0 +1,16 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Dispatch Password Requests to Console Directory Watch
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=basic.target shutdown.target
+
+[Path]
+DirectoryNotEmpty=/run/systemd/ask-password
+MakeDirectory=yes
diff --git a/template/system/systemd-ask-password-console.service
b/template/system/systemd-ask-password-console.service
new file mode 100644
index 0000000..a39f943
--- /dev/null
+++ b/template/system/systemd-ask-password-console.service
@@ -0,0 +1,15 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Dispatch Password Requests to Console
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=shutdown.target
+
+[Service]
+ExecStart=/bin/systemd-tty-ask-password-agent --watch --console
diff --git a/template/system/systemd-ask-password-wall.path
b/template/system/systemd-ask-password-wall.path
new file mode 100644
index 0000000..050b73b
--- /dev/null
+++ b/template/system/systemd-ask-password-wall.path
@@ -0,0 +1,16 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Forward Password Requests to Wall Directory Watch
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=basic.target shutdown.target
+
+[Path]
+DirectoryNotEmpty=/run/systemd/ask-password
+MakeDirectory=yes
diff --git a/template/system/systemd-ask-password-wall.service
b/template/system/systemd-ask-password-wall.service
new file mode 100644
index 0000000..844b0d5
--- /dev/null
+++ b/template/system/systemd-ask-password-wall.service
@@ -0,0 +1,15 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Forward Password Requests to Wall
+After=systemd-user-sessions.service
+
+[Service]
+ExecStartPre=-/bin/systemctl stop systemd-ask-password-console.path
systemd-ask-password-console.service
+ExecStartPre=-/bin/systemctl stop systemd-ask-password-plymouth.path
systemd-ask-password-plymouth.service
+ExecStart=/bin/systemd-tty-ask-password-agent --wall
diff --git a/template/system/systemd-binfmt.service
b/template/system/systemd-binfmt.service
new file mode 100644
index 0000000..62eb419
--- /dev/null
+++ b/template/system/systemd-binfmt.service
@@ -0,0 +1,19 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Set Up Additional Binary Formats
+DefaultDependencies=no
+Conflicts=shutdown.target
+After=systemd-readahead-collect.service systemd-readahead-replay.service
proc-sys-fs-binfmt_misc.automount
+Before=sysinit.target shutdown.target
+ConditionDirectoryNotEmpty=/etc/binfmt.d
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/lib/systemd/systemd-binfmt
diff --git a/template/system/systemd-hostnamed.service
b/template/system/systemd-hostnamed.service
new file mode 100644
index 0000000..3b65a54
--- /dev/null
+++ b/template/system/systemd-hostnamed.service
@@ -0,0 +1,17 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Hostname Service
+
+[Service]
+ExecStart=/lib/systemd/systemd-hostnamed
+Type=dbus
+BusName=org.freedesktop.hostname1
+CapabilityBoundingSet=CAP_SYS_ADMIN
diff --git a/template/system/systemd-initctl.service
b/template/system/systemd-initctl.service
new file mode 100644
index 0000000..5dbc3e4
--- /dev/null
+++ b/template/system/systemd-initctl.service
@@ -0,0 +1,16 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=/dev/initctl Compatibility Daemon
+DefaultDependencies=no
+
+[Service]
+ExecStart=/lib/systemd/systemd-initctl
+NotifyAccess=all
diff --git a/template/system/systemd-initctl.socket
b/template/system/systemd-initctl.socket
new file mode 100644
index 0000000..7a3a023
--- /dev/null
+++ b/template/system/systemd-initctl.socket
@@ -0,0 +1,17 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=/dev/initctl Compatibility Named Pipe
+DefaultDependencies=no
+Before=sockets.target
+
+[Socket]
+ListenFIFO=/dev/initctl
+SocketMode=0600
diff --git a/template/system/systemd-kmsg-syslogd.service
b/template/system/systemd-kmsg-syslogd.service
new file mode 100644
index 0000000..77ad1e9
--- /dev/null
+++ b/template/system/systemd-kmsg-syslogd.service
@@ -0,0 +1,19 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Syslog Kernel Log Buffer Bridge
+DefaultDependencies=no
+
+[Service]
+ExecStart=/lib/systemd/systemd-kmsg-syslogd
+NotifyAccess=all
+StandardOutput=null
+Sockets=syslog.socket
+CapabilityBoundingSet=CAP_DAC_OVERRIDE
diff --git a/template/system/systemd-logger.service
b/template/system/systemd-logger.service
new file mode 100644
index 0000000..fcc27fc
--- /dev/null
+++ b/template/system/systemd-logger.service
@@ -0,0 +1,20 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Stdio Syslog Bridge
+DefaultDependencies=no
+Requires=syslog.socket
+After=syslog.socket
+
+[Service]
+ExecStart=/lib/systemd/systemd-logger
+NotifyAccess=all
+StandardOutput=null
+CapabilityBoundingSet=CAP_SYS_ADMIN CAP_SETUID CAP_SETGID
diff --git a/template/system/systemd-logger.socket
b/template/system/systemd-logger.socket
new file mode 100644
index 0000000..7178cc8
--- /dev/null
+++ b/template/system/systemd-logger.socket
@@ -0,0 +1,21 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Stdio Syslog Bridge Socket
+DefaultDependencies=no
+Before=sockets.target
+
+# Mount and swap units need this. If this socket unit is removed by an
+# isolate request the mount and and swap units would be removed too,
+# hence let's exclude this from isolate requests.
+IgnoreOnIsolate=yes
+
+[Socket]
+ListenStream=/run/systemd/logger
diff --git a/template/system/systemd-modules-load.service
b/template/system/systemd-modules-load.service
new file mode 100644
index 0000000..e81bf58
--- /dev/null
+++ b/template/system/systemd-modules-load.service
@@ -0,0 +1,19 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Load Kernel Modules
+DefaultDependencies=no
+Conflicts=shutdown.target
+After=systemd-readahead-collect.service systemd-readahead-replay.service
+Before=sysinit.target shutdown.target
+ConditionDirectoryNotEmpty=/etc/modules-load.d
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/lib/systemd/systemd-modules-load
diff --git a/template/system/systemd-random-seed-load.service
b/template/system/systemd-random-seed-load.service
new file mode 100644
index 0000000..8253e05
--- /dev/null
+++ b/template/system/systemd-random-seed-load.service
@@ -0,0 +1,18 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Load Random Seed
+DefaultDependencies=no
+Wants=local-fs.target
+Conflicts=shutdown.target
+After=systemd-readahead-collect.service systemd-readahead-replay.service
local-fs.target
+Before=sysinit.target shutdown.target
+
+[Service]
+Type=oneshot
+ExecStart=/lib/systemd/systemd-random-seed load
diff --git a/template/system/systemd-random-seed-save.service
b/template/system/systemd-random-seed-save.service
new file mode 100644
index 0000000..3b1bd90
--- /dev/null
+++ b/template/system/systemd-random-seed-save.service
@@ -0,0 +1,17 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Save Random Seed
+DefaultDependencies=no
+After=systemd-random-seed-load.service
+Before=shutdown.target
+Conflicts=systemd-random-seed-load.service
+
+[Service]
+Type=oneshot
+ExecStart=/lib/systemd/systemd-random-seed save
diff --git a/template/system/systemd-readahead-collect.service
b/template/system/systemd-readahead-collect.service
new file mode 100644
index 0000000..28a9ee9
--- /dev/null
+++ b/template/system/systemd-readahead-collect.service
@@ -0,0 +1,21 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Collect Read-Ahead Data
+DefaultDependencies=no
+Wants=systemd-readahead-done.timer
+Conflicts=shutdown.target
+Before=sysinit.target shutdown.target
+
+[Service]
+Type=notify
+ExecStart=/lib/systemd/systemd-readahead-collect
+RemainAfterExit=yes
+
+[Install]
+WantedBy=default.target
diff --git a/template/system/systemd-readahead-done.service
b/template/system/systemd-readahead-done.service
new file mode 100644
index 0000000..4743b39
--- /dev/null
+++ b/template/system/systemd-readahead-done.service
@@ -0,0 +1,20 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Stop Read-Ahead Data Collection
+DefaultDependencies=no
+Conflicts=shutdown.target
+After=default.target
+Before=shutdown.target
+
+[Service]
+Type=oneshot
+ExecStart=/bin/systemd-notify --readahead=done
+
+[Install]
+Also=systemd-readahead-collect.service
diff --git a/template/system/systemd-readahead-done.timer
b/template/system/systemd-readahead-done.timer
new file mode 100644
index 0000000..d144bfa
--- /dev/null
+++ b/template/system/systemd-readahead-done.timer
@@ -0,0 +1,19 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Stop Read-Ahead Data Collection 10s After Completed Startup
+DefaultDependencies=no
+Conflicts=shutdown.target
+After=default.target
+Before=shutdown.target
+
+[Timer]
+OnActiveSec=10s
+
+[Install]
+Also=systemd-readahead-collect.service
diff --git a/template/system/systemd-readahead-replay.service
b/template/system/systemd-readahead-replay.service
new file mode 100644
index 0000000..98190fa
--- /dev/null
+++ b/template/system/systemd-readahead-replay.service
@@ -0,0 +1,21 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Replay Read-Ahead Data
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=sysinit.target shutdown.target
+ConditionPathExists=/.readahead
+
+[Service]
+Type=notify
+ExecStart=/lib/systemd/systemd-readahead-replay
+RemainAfterExit=yes
+
+[Install]
+WantedBy=default.target
diff --git a/template/system/systemd-remount-api-vfs.service
b/template/system/systemd-remount-api-vfs.service
new file mode 100644
index 0000000..aa25388
--- /dev/null
+++ b/template/system/systemd-remount-api-vfs.service
@@ -0,0 +1,19 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Remount API VFS
+DefaultDependencies=no
+Conflicts=shutdown.target
+After=systemd-readahead-collect.service systemd-readahead-replay.service
+Before=local-fs.target shutdown.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/lib/systemd/systemd-remount-api-vfs
+StandardOutput=syslog
diff --git a/template/system/systemd-shutdownd.service
b/template/system/systemd-shutdownd.service
new file mode 100644
index 0000000..0d1a6fe
--- /dev/null
+++ b/template/system/systemd-shutdownd.service
@@ -0,0 +1,16 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Delayed Shutdown Service
+DefaultDependencies=no
+
+[Service]
+ExecStart=/lib/systemd/systemd-shutdownd
+NotifyAccess=all
diff --git a/template/system/systemd-shutdownd.socket
b/template/system/systemd-shutdownd.socket
new file mode 100644
index 0000000..b30a665
--- /dev/null
+++ b/template/system/systemd-shutdownd.socket
@@ -0,0 +1,16 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Delayed Shutdown Socket
+DefaultDependencies=no
+Before=sockets.target
+
+[Socket]
+ListenDatagram=/run/systemd/shutdownd
diff --git a/template/system/systemd-sysctl.service
b/template/system/systemd-sysctl.service
new file mode 100644
index 0000000..39ed321
--- /dev/null
+++ b/template/system/systemd-sysctl.service
@@ -0,0 +1,20 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Apply Kernel Variables
+DefaultDependencies=no
+Conflicts=shutdown.target
+After=systemd-readahead-collect.service systemd-readahead-replay.service
+Before=sysinit.target shutdown.target
+ConditionPathExists=|/etc/sysctl.conf
+ConditionDirectoryNotEmpty=|/etc/sysctl.d
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/lib/systemd/systemd-sysctl
diff --git a/template/system/systemd-tmpfiles-clean.service
b/template/system/systemd-tmpfiles-clean.service
new file mode 100644
index 0000000..d4299bd
--- /dev/null
+++ b/template/system/systemd-tmpfiles-clean.service
@@ -0,0 +1,19 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Cleanup of Temporary Directories
+DefaultDependencies=no
+Wants=local-fs.target
+After=systemd-readahead-collect.service systemd-readahead-replay.service
local-fs.target
+Before=sysinit.target shutdown.target
+ConditionPathExists=/etc/tmpfiles.d
+
+[Service]
+Type=oneshot
+ExecStart=/bin/systemd-tmpfiles --clean
+IOSchedulingClass=idle
diff --git a/template/system/systemd-tmpfiles-clean.timer
b/template/system/systemd-tmpfiles-clean.timer
new file mode 100644
index 0000000..d8529a8
--- /dev/null
+++ b/template/system/systemd-tmpfiles-clean.timer
@@ -0,0 +1,13 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Daily Cleanup of Temporary Directories
+
+[Timer]
+OnBootSec=15min
+OnUnitActiveSec=1d
diff --git a/template/system/systemd-tmpfiles-setup.service
b/template/system/systemd-tmpfiles-setup.service
new file mode 100644
index 0000000..c4b5017
--- /dev/null
+++ b/template/system/systemd-tmpfiles-setup.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Recreate Volatile Files and Directories
+DefaultDependencies=no
+Wants=local-fs.target
+After=systemd-readahead-collect.service systemd-readahead-replay.service
local-fs.target
+Before=sysinit.target shutdown.target
+ConditionPathExists=/etc/tmpfiles.d
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/bin/systemd-tmpfiles --create --remove
diff --git a/template/system/systemd-update-utmp-runlevel.service
b/template/system/systemd-update-utmp-runlevel.service
new file mode 100644
index 0000000..7da6dd4
--- /dev/null
+++ b/template/system/systemd-update-utmp-runlevel.service
@@ -0,0 +1,16 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Notify Audit System and Update UTMP about System Runlevel Changes
+DefaultDependencies=no
+After=local-fs.target sysinit.target auditd.service runlevel1.target
runlevel2.target runlevel3.target runlevel4.target runlevel5.target
systemd-tmpfiles-setup.service
+Before=poweroff.service reboot.service halt.service
+
+[Service]
+Type=oneshot
+ExecStart=/lib/systemd/systemd-update-utmp runlevel
diff --git a/template/system/systemd-update-utmp-shutdown.service
b/template/system/systemd-update-utmp-shutdown.service
new file mode 100644
index 0000000..622eb8d
--- /dev/null
+++ b/template/system/systemd-update-utmp-shutdown.service
@@ -0,0 +1,16 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Notify Audit System and Update UTMP about System Shutdown
+DefaultDependencies=no
+After=local-fs.target sysinit.target auditd.service
systemd-update-utmp-runlevel.service
+Before=poweroff.service reboot.service halt.service
+
+[Service]
+Type=oneshot
+ExecStart=/lib/systemd/systemd-update-utmp shutdown
diff --git a/template/system/systemd-user-sessions.service
b/template/system/systemd-user-sessions.service
new file mode 100644
index 0000000..b4e4e91
--- /dev/null
+++ b/template/system/systemd-user-sessions.service
@@ -0,0 +1,16 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Permit User Sessions
+After=local-fs.target remote-fs.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/lib/systemd/systemd-user-sessions start
+ExecStop=/lib/systemd/systemd-user-sessions stop
diff --git a/template/system/systemd-vconsole-setup.service
b/template/system/systemd-vconsole-setup.service
new file mode 100644
index 0000000..c49e165
--- /dev/null
+++ b/template/system/systemd-vconsole-setup.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Setup Virtual Console
+DefaultDependencies=no
+Conflicts=shutdown.target
+After=systemd-readahead-collect.service systemd-readahead-replay.service
+Before=sysinit.target shutdown.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/lib/systemd/systemd-vconsole-setup.sh
+StandardOutput=syslog
diff --git a/template/system/time-sync.target
b/template/system/time-sync.target
new file mode 100644
index 0000000..aa34ecb
--- /dev/null
+++ b/template/system/time-sync.target
@@ -0,0 +1,14 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+# This exists mostly for compatibility with SysV/LSB units, and
+# implementations lacking socket/bus activation.
+
+[Unit]
+Description=System Time Synchronized
diff --git a/template/system/udisks.service b/template/system/udisks.service
new file mode 100644
index 0000000..9ff28b8
--- /dev/null
+++ b/template/system/udisks.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Disk Manager
+After=syslog.target
+
+[Service]
+Type=dbus
+BusName=org.freedesktop.UDisks
+ExecStart=/usr/libexec/udisks-daemon
+StandardOutput=syslog
+
+[Install]
+WantedBy=graphical.target
diff --git a/template/system/umount.target b/template/system/umount.target
new file mode 100644
index 0000000..b9ecca6
--- /dev/null
+++ b/template/system/umount.target
@@ -0,0 +1,13 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Unmount All Filesystems
+DefaultDependencies=no
+RefuseManualStart=yes
diff --git a/template/system/var-lock.mount b/template/system/var-lock.mount
new file mode 100644
index 0000000..80e1bab
--- /dev/null
+++ b/template/system/var-lock.mount
@@ -0,0 +1,18 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Lock Directory
+Before=local-fs.target
+# skip mounting if the directory does not exist or is a symlink
+ConditionPathIsDirectory=/var/lock
+
+[Mount]
+What=/run/lock
+Where=/var/lock
+Type=bind
+Options=bind
diff --git a/template/system/var-run.mount b/template/system/var-run.mount
new file mode 100644
index 0000000..c513dfe
--- /dev/null
+++ b/template/system/var-run.mount
@@ -0,0 +1,18 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Runtime Directory
+Before=local-fs.target
+# skip mounting if the directory does not exist or is a symlink
+ConditionPathIsDirectory=/var/run
+
+[Mount]
+What=/run
+Where=/var/run
+Type=bind
+Options=bind
diff --git a/template/system/wicd.service b/template/system/wicd.service
new file mode 100644
index 0000000..fb73730
--- /dev/null
+++ b/template/system/wicd.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Wire[less] Interface Controller Daemon
+After=syslog.target
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/wicd
+PIDfile=/run/wicd/wicd.pid
+
+[Install]
+WantedBy=multi-user.target
diff --git a/template/user/bluetooth.target b/template/user/bluetooth.target
new file mode 120000
index 0000000..a06db18
--- /dev/null
+++ b/template/user/bluetooth.target
@@ -0,0 +1 @@
+/lib/systemd/system/bluetooth.target
\ No newline at end of file
diff --git a/template/user/default.target b/template/user/default.target
new file mode 100644
index 0000000..deb310c
--- /dev/null
+++ b/template/user/default.target
@@ -0,0 +1,11 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Default
diff --git a/template/user/exit.service b/template/user/exit.service
new file mode 100644
index 0000000..eedfb5c
--- /dev/null
+++ b/template/user/exit.service
@@ -0,0 +1,18 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Exit the Session
+DefaultDependencies=no
+Requires=shutdown.target
+After=shutdown.target
+
+[Service]
+Type=oneshot
+ExecStart=/bin/systemctl --user --force exit
diff --git a/template/user/exit.target b/template/user/exit.target
new file mode 100644
index 0000000..f34844c
--- /dev/null
+++ b/template/user/exit.target
@@ -0,0 +1,18 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Exit the Session
+DefaultDependencies=no
+Requires=exit.service
+After=exit.service
+AllowIsolate=yes
+
+[Install]
+Alias=ctrl-alt-del.target
diff --git a/template/user/local-fs.target b/template/user/local-fs.target
new file mode 120000
index 0000000..53a9727
--- /dev/null
+++ b/template/user/local-fs.target
@@ -0,0 +1 @@
+/lib/systemd/system/local-fs.target
\ No newline at end of file
diff --git a/template/user/printer.target b/template/user/printer.target
new file mode 120000
index 0000000..0f3d952
--- /dev/null
+++ b/template/user/printer.target
@@ -0,0 +1 @@
+/lib/systemd/system/printer.target
\ No newline at end of file
diff --git a/template/user/remote-fs.target b/template/user/remote-fs.target
new file mode 100644
index 0000000..a48f87e
--- /dev/null
+++ b/template/user/remote-fs.target
@@ -0,0 +1,14 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Remote File Systems
+
+[Install]
+WantedBy=multi-user.target
diff --git a/template/user/shutdown.target b/template/user/shutdown.target
new file mode 120000
index 0000000..314ad53
--- /dev/null
+++ b/template/user/shutdown.target
@@ -0,0 +1 @@
+/lib/systemd/system/shutdown.target
\ No newline at end of file
diff --git a/template/user/sockets.target b/template/user/sockets.target
new file mode 120000
index 0000000..d51cf1f
--- /dev/null
+++ b/template/user/sockets.target
@@ -0,0 +1 @@
+/lib/systemd/system/sockets.target
\ No newline at end of file
diff --git a/template/user/sound.target b/template/user/sound.target
new file mode 120000
index 0000000..5ea120c
--- /dev/null
+++ b/template/user/sound.target
@@ -0,0 +1 @@
+/lib/systemd/system/sound.target
\ No newline at end of file
diff --git a/template/user/swap.target b/template/user/swap.target
new file mode 120000
index 0000000..e70e01b
--- /dev/null
+++ b/template/user/swap.target
@@ -0,0 +1 @@
+/lib/systemd/system/swap.target
\ No newline at end of file



  • [SM-Commit] GIT changes to master imp-data-systemd by Jeremy Kajikawa (4700643ae1cecbd8347b5d0b95844e7cf9d1c036), Jeremy Kajikawa, 06/15/2011

Archive powered by MHonArc 2.6.24.

Top of Page