]> err.no Git - systemd-rc/commitdiff
Initial import from http://0pointer.de/public/etc-systemd-system.tar.gz
authorTollef Fog Heen <tfheen@err.no>
Sun, 2 May 2010 16:20:07 +0000 (18:20 +0200)
committerTollef Fog Heen <tfheen@err.no>
Sun, 2 May 2010 16:20:07 +0000 (18:20 +0200)
45 files changed:
basic.target [new file with mode: 0644]
ctrl-alt-del.target [new symlink]
default.target [new symlink]
getty.target [new file with mode: 0644]
getty.target.wants/getty@tty1.service [new symlink]
getty.target.wants/getty@tty2.service [new symlink]
getty.target.wants/getty@tty3.service [new symlink]
getty.target.wants/getty@tty4.service [new symlink]
getty.target.wants/getty@tty5.service [new symlink]
getty.target.wants/getty@tty6.service [new symlink]
getty@.service [new file with mode: 0644]
graphical.target [new file with mode: 0644]
graphical.target.wants/prefdm.service [new symlink]
halt.service [new file with mode: 0644]
halt.target [new file with mode: 0644]
kbrequest.target [new symlink]
killall.service [new file with mode: 0644]
local-fs.target [new file with mode: 0644]
local.service [new symlink]
multi-user.target [new file with mode: 0644]
multi-user.target.wants/getty.target [new symlink]
multi-user.target.wants/systemd-initctl.socket [new symlink]
multi-user.target.wants/systemd-logger.socket [new symlink]
network.target [new file with mode: 0644]
nss-lookup.target [new file with mode: 0644]
poweroff.service [new file with mode: 0644]
poweroff.target [new file with mode: 0644]
prefdm.service [new file with mode: 0644]
rc-local.service [new file with mode: 0644]
reboot.service [new file with mode: 0644]
reboot.target [new file with mode: 0644]
remote-fs.target [new file with mode: 0644]
rescue.target [new file with mode: 0644]
rtc-set.target [new file with mode: 0644]
runlevel0.target [new symlink]
runlevel1.target [new symlink]
runlevel2.target [new file with mode: 0644]
runlevel3.target [new symlink]
runlevel4.target [new file with mode: 0644]
runlevel5.target [new symlink]
runlevel6.target [new symlink]
shutdown.target [new file with mode: 0644]
sigpwr.target [new file with mode: 0644]
sysinit.service [new file with mode: 0644]
syslog.target [new file with mode: 0644]

diff --git a/basic.target b/basic.target
new file mode 100644 (file)
index 0000000..b2c8e8a
--- /dev/null
@@ -0,0 +1,4 @@
+[Unit]
+Description=Basic System
+Requires=local-fs.target sysinit.service rc-local.service
+After=local-fs.target sysinit.service
diff --git a/ctrl-alt-del.target b/ctrl-alt-del.target
new file mode 120000 (symlink)
index 0000000..f2fde43
--- /dev/null
@@ -0,0 +1 @@
+reboot.target
\ No newline at end of file
diff --git a/default.target b/default.target
new file mode 120000 (symlink)
index 0000000..19c4c93
--- /dev/null
@@ -0,0 +1 @@
+multi-user.target
\ No newline at end of file
diff --git a/getty.target b/getty.target
new file mode 100644 (file)
index 0000000..6d9da7c
--- /dev/null
@@ -0,0 +1,2 @@
+[Unit]
+Description=Login Prompts
diff --git a/getty.target.wants/getty@tty1.service b/getty.target.wants/getty@tty1.service
new file mode 120000 (symlink)
index 0000000..c466b29
--- /dev/null
@@ -0,0 +1 @@
+../getty@.service
\ No newline at end of file
diff --git a/getty.target.wants/getty@tty2.service b/getty.target.wants/getty@tty2.service
new file mode 120000 (symlink)
index 0000000..c466b29
--- /dev/null
@@ -0,0 +1 @@
+../getty@.service
\ No newline at end of file
diff --git a/getty.target.wants/getty@tty3.service b/getty.target.wants/getty@tty3.service
new file mode 120000 (symlink)
index 0000000..c466b29
--- /dev/null
@@ -0,0 +1 @@
+../getty@.service
\ No newline at end of file
diff --git a/getty.target.wants/getty@tty4.service b/getty.target.wants/getty@tty4.service
new file mode 120000 (symlink)
index 0000000..c466b29
--- /dev/null
@@ -0,0 +1 @@
+../getty@.service
\ No newline at end of file
diff --git a/getty.target.wants/getty@tty5.service b/getty.target.wants/getty@tty5.service
new file mode 120000 (symlink)
index 0000000..c466b29
--- /dev/null
@@ -0,0 +1 @@
+../getty@.service
\ No newline at end of file
diff --git a/getty.target.wants/getty@tty6.service b/getty.target.wants/getty@tty6.service
new file mode 120000 (symlink)
index 0000000..c466b29
--- /dev/null
@@ -0,0 +1 @@
+../getty@.service
\ No newline at end of file
diff --git a/getty@.service b/getty@.service
new file mode 100644 (file)
index 0000000..ceb04c0
--- /dev/null
@@ -0,0 +1,11 @@
+[Unit]
+Description=Getty on %I
+Before=getty.target
+After=basic.target
+Conflicts=shutdown.target
+
+[Service]
+ExecStart=/sbin/mingetty %I
+Type=simple
+Restart=restart-always
+RestartSec=0
diff --git a/graphical.target b/graphical.target
new file mode 100644 (file)
index 0000000..a4c609e
--- /dev/null
@@ -0,0 +1,5 @@
+[Unit]
+Description=Graphical Interface
+Requires=multi-user.target basic.target
+After=multi-user.target basic.target
+Names=runlevel5.target
diff --git a/graphical.target.wants/prefdm.service b/graphical.target.wants/prefdm.service
new file mode 120000 (symlink)
index 0000000..dd5eb66
--- /dev/null
@@ -0,0 +1 @@
+../prefdm.service
\ No newline at end of file
diff --git a/halt.service b/halt.service
new file mode 100644 (file)
index 0000000..0b350da
--- /dev/null
@@ -0,0 +1,12 @@
+[Unit]
+Description=Halt
+Requires=shutdown.target killall.service
+After=shutdown.target killall.service
+Before=halt.target
+
+[Service]
+Type=finish
+ValidNoProcess=yes
+Environment=INIT_HALT=HALT
+Environment=RUNLEVEL=0
+ExecStart=/etc/init.d/halt start
diff --git a/halt.target b/halt.target
new file mode 100644 (file)
index 0000000..03b8117
--- /dev/null
@@ -0,0 +1,3 @@
+[Unit]
+Description=Halt
+Requires=halt.service
diff --git a/kbrequest.target b/kbrequest.target
new file mode 120000 (symlink)
index 0000000..eedb17f
--- /dev/null
@@ -0,0 +1 @@
+rescue.target
\ No newline at end of file
diff --git a/killall.service b/killall.service
new file mode 100644 (file)
index 0000000..b471bc1
--- /dev/null
@@ -0,0 +1,8 @@
+[Unit]
+Description=Kill All Processes
+After=shutdown.target
+
+[Service]
+Type=finish
+ValidNoProcess=yes
+ExecStart=/etc/init.d/killall start
diff --git a/local-fs.target b/local-fs.target
new file mode 100644 (file)
index 0000000..60cce4d
--- /dev/null
@@ -0,0 +1,3 @@
+[Unit]
+Description=Local File Systems
+After=sysinit.service
diff --git a/local.service b/local.service
new file mode 120000 (symlink)
index 0000000..ad0e40f
--- /dev/null
@@ -0,0 +1 @@
+rc-local.service
\ No newline at end of file
diff --git a/multi-user.target b/multi-user.target
new file mode 100644 (file)
index 0000000..5a8a125
--- /dev/null
@@ -0,0 +1,5 @@
+[Unit]
+Description=Multi-User Target
+Requires=basic.target
+After=basic.target
+Names=runlevel3.target
diff --git a/multi-user.target.wants/getty.target b/multi-user.target.wants/getty.target
new file mode 120000 (symlink)
index 0000000..bdba1fe
--- /dev/null
@@ -0,0 +1 @@
+../getty.target
\ No newline at end of file
diff --git a/multi-user.target.wants/systemd-initctl.socket b/multi-user.target.wants/systemd-initctl.socket
new file mode 120000 (symlink)
index 0000000..054d224
--- /dev/null
@@ -0,0 +1 @@
+/usr/local/share/systemd/system/systemd-initctl.socket
\ No newline at end of file
diff --git a/multi-user.target.wants/systemd-logger.socket b/multi-user.target.wants/systemd-logger.socket
new file mode 120000 (symlink)
index 0000000..4deaba8
--- /dev/null
@@ -0,0 +1 @@
+/usr/local/share/systemd/system/systemd-logger.socket
\ No newline at end of file
diff --git a/network.target b/network.target
new file mode 100644 (file)
index 0000000..c84fb99
--- /dev/null
@@ -0,0 +1,2 @@
+[Unit]
+Description=Network
diff --git a/nss-lookup.target b/nss-lookup.target
new file mode 100644 (file)
index 0000000..c889ac3
--- /dev/null
@@ -0,0 +1,4 @@
+[Unit]
+Description=Name Lookups
+Wants=network.target
+After=network.target
diff --git a/poweroff.service b/poweroff.service
new file mode 100644 (file)
index 0000000..c394561
--- /dev/null
@@ -0,0 +1,11 @@
+[Unit]
+Description=Poweroff
+Requires=shutdown.target killall.service
+After=shutdown.target killall.service
+Before=poweroff.target
+
+[Service]
+Type=finish
+ValidNoProcess=yes
+Environment=RUNLEVEL=0
+ExecStart=/etc/init.d/halt start
diff --git a/poweroff.target b/poweroff.target
new file mode 100644 (file)
index 0000000..c1fd9f7
--- /dev/null
@@ -0,0 +1,4 @@
+[Unit]
+Description=Power Off
+Names=runlevel0.target
+Requires=poweroff.service
diff --git a/prefdm.service b/prefdm.service
new file mode 100644 (file)
index 0000000..c42e6f4
--- /dev/null
@@ -0,0 +1,8 @@
+[Unit]
+Description=Display Manager
+Before=graphical.target
+After=basic.target syslog.target messagebus.service haldaemon.service
+
+[Service]
+ExecStart=/etc/X11/prefdm -nodaemon
+Type=simple
diff --git a/rc-local.service b/rc-local.service
new file mode 100644 (file)
index 0000000..93e182c
--- /dev/null
@@ -0,0 +1,12 @@
+[Unit]
+Description=/etc/rc.local Compatibility
+Requires=basic.target
+Names=local.service
+
+[Service]
+ExecStart=/etc/rc.local start
+Type=finish
+TimeoutSec=0
+StandardInput=tty
+ValidNoProcess=yes
+SysVStartPriority=99
diff --git a/reboot.service b/reboot.service
new file mode 100644 (file)
index 0000000..563d5b6
--- /dev/null
@@ -0,0 +1,11 @@
+[Unit]
+Description=Reboot
+Requires=shutdown.target killall.service
+After=shutdown.target killall.service
+Before=reboot.target
+
+[Service]
+Type=finish
+ValidNoProcess=yes
+Environment=RUNLEVEL=6
+ExecStart=/etc/init.d/reboot start
diff --git a/reboot.target b/reboot.target
new file mode 100644 (file)
index 0000000..3afc730
--- /dev/null
@@ -0,0 +1,4 @@
+[Unit]
+Description=Reboot
+Names=runlevel6.target
+Requires=reboot.service
diff --git a/remote-fs.target b/remote-fs.target
new file mode 100644 (file)
index 0000000..58234a3
--- /dev/null
@@ -0,0 +1,4 @@
+[Unit]
+Description=Remote File Systems
+Requires=network.target
+After=network.target
diff --git a/rescue.target b/rescue.target
new file mode 100644 (file)
index 0000000..e0b02ca
--- /dev/null
@@ -0,0 +1,5 @@
+[Unit]
+Description=Rescue Target
+Requires=basic.target
+After=basic.target
+Names=runlevel1.target
diff --git a/rtc-set.target b/rtc-set.target
new file mode 100644 (file)
index 0000000..58bcd82
--- /dev/null
@@ -0,0 +1,2 @@
+[Unit]
+Description=RTC Set
diff --git a/runlevel0.target b/runlevel0.target
new file mode 120000 (symlink)
index 0000000..fe6c668
--- /dev/null
@@ -0,0 +1 @@
+poweroff.target
\ No newline at end of file
diff --git a/runlevel1.target b/runlevel1.target
new file mode 120000 (symlink)
index 0000000..eedb17f
--- /dev/null
@@ -0,0 +1 @@
+rescue.target
\ No newline at end of file
diff --git a/runlevel2.target b/runlevel2.target
new file mode 100644 (file)
index 0000000..ba825c3
--- /dev/null
@@ -0,0 +1,4 @@
+[Unit]
+Description=Compatibility for Runlevel 2
+Requires=multi-user.target
+After=multi-user.target
diff --git a/runlevel3.target b/runlevel3.target
new file mode 120000 (symlink)
index 0000000..19c4c93
--- /dev/null
@@ -0,0 +1 @@
+multi-user.target
\ No newline at end of file
diff --git a/runlevel4.target b/runlevel4.target
new file mode 100644 (file)
index 0000000..1200b86
--- /dev/null
@@ -0,0 +1,4 @@
+[Unit]
+Description=Compatibility for Runlevel 4
+Requires=multi-user.target
+After=multi-user.target
diff --git a/runlevel5.target b/runlevel5.target
new file mode 120000 (symlink)
index 0000000..a0aae86
--- /dev/null
@@ -0,0 +1 @@
+graphical.target
\ No newline at end of file
diff --git a/runlevel6.target b/runlevel6.target
new file mode 120000 (symlink)
index 0000000..f2fde43
--- /dev/null
@@ -0,0 +1 @@
+reboot.target
\ No newline at end of file
diff --git a/shutdown.target b/shutdown.target
new file mode 100644 (file)
index 0000000..e725206
--- /dev/null
@@ -0,0 +1,3 @@
+[Unit]
+Names=shutdown.target
+Description=Shutdown
diff --git a/sigpwr.target b/sigpwr.target
new file mode 100644 (file)
index 0000000..9903184
--- /dev/null
@@ -0,0 +1,2 @@
+[Unit]
+Description=Power Failure
diff --git a/sysinit.service b/sysinit.service
new file mode 100644 (file)
index 0000000..d21cd17
--- /dev/null
@@ -0,0 +1,9 @@
+[Unit]
+Description=System Initialization
+
+[Service]
+ExecStart=/etc/rc.d/rc.sysinit
+Type=forking
+TimeoutSec=0
+StandardInput=tty
+ValidNoProcess=yes
diff --git a/syslog.target b/syslog.target
new file mode 100644 (file)
index 0000000..11d4fda
--- /dev/null
@@ -0,0 +1,4 @@
+[Unit]
+Description=System Logger
+Requires=rsyslog.service
+After=rsyslog.service