test: rename test directory

This commit is contained in:
Lennart Poettering 2011-12-31 13:48:35 +01:00
parent 0237edf7d2
commit 5e2c93666f
29 changed files with 1 additions and 96 deletions

View file

@ -31,7 +31,7 @@ int main(int argc, char *argv[]) {
Unit *a = NULL, *b = NULL, *c = NULL, *d = NULL, *e = NULL, *g = NULL, *h = NULL;
Job *j;
assert_se(set_unit_path("test2") >= 0);
assert_se(set_unit_path("test") >= 0);
assert_se(manager_new(MANAGER_SYSTEM, &m) >= 0);

View file

@ -1 +0,0 @@
multiuser.target

View file

@ -1,9 +0,0 @@
[Meta]
Description=Simple Execution Demo
[Service]
ExecStartPre=/bin/ps -eo pid,uid,args,cgroup
ExecStartPre=/bin/cat /etc/hosts
ExecStart=/bin/bash -c '/bin/sleep 5 &'
Type=forking
Output=syslog

View file

@ -1,8 +0,0 @@
[Meta]
Description=FIFO Activation Demo Service
[Service]
ExecStartPre=/bin/echo "Wow, es geht los!"
#ExecStart=/bin/bash -c 'read a <&3 ; echo "GOT: $a"'
ExecStart=/bin/bash -c 'cat <&3'
Type=simple

View file

@ -1,6 +0,0 @@
[Meta]
Description=FIFO Activation Demo Socket
[Socket]
ListenFIFO=/tmp/systemd-fifo-demo
ExecStartPost=/bin/echo "OK, we're ready, now write something to /tmp/systemd-fifo-demo"

View file

@ -1 +0,0 @@
postfix.service

View file

@ -1 +0,0 @@
postfix.socket

View file

@ -1,2 +0,0 @@
[Meta]
Description=Multi-User Target

View file

@ -1 +0,0 @@
../exec-demo.service

View file

@ -1 +0,0 @@
../fifo-demo.socket

View file

@ -1 +0,0 @@
../mail-transfer-agent.socket

View file

@ -1 +0,0 @@
../permissions.service

View file

@ -1 +0,0 @@
../systemd-logger.socket

View file

@ -1,11 +0,0 @@
[Meta]
Description=Permission Enforcement checker
[Service]
ExecStart=/usr/bin/id
ExecStartPost=/usr/bin/env
ExecStartPost=/bin/sleep 5
Type=oneshot
Capabilities=all= cap_dac_override=eip
User=nobody
Group=nobody

View file

@ -1,7 +0,0 @@
[Meta]
Names=mail-transfer-agent.service
Description=Postfix Mail Server
Requires=syslog.socket
[Service]
ExecStart=/usr/bin/postfix

View file

@ -1,13 +0,0 @@
[Meta]
Description=Postfix SMTP Socket
[Socket]
ListenStream=53333
ListenFIFO=/tmp/systemd-postfix-fifo
ExecStartPre=/bin/echo "About to create sockets..."
ExecStartPre=/bin/echo "About to create sockets... 2"
ExecStartPost=/bin/echo "Created sockets..."
ExecStopPre=/bin/echo "About to delete sockets..."
ExecStopPost=/bin/echo "Deleted sockets..."
ExecStopPost=/bin/echo "Deleted sockets... 2"
#BindToDevice=eth0

View file

@ -1,5 +0,0 @@
[Meta]
Description=System Logging Daemon
[Service]
ExecStart=/usr/bin/rsyslogd --foobar 'waldo'

View file

@ -1,8 +0,0 @@
[Meta]
Description=Syslog Socket
[Socket]
ListenDatagram=/tmp/foobar/waldo/systemd-syslog-socket
ListenStream=eth0:3456
DirectoryMode=0700
SocketMode=0600

View file

@ -1,13 +0,0 @@
[Meta]
Description=systemd Logging Daemon
[Service]
ExecStart=/home/lennart/projects/systemd/systemd-logger
Type=simple
TimerSlackNS=1000000
OOMScoreAdjust=40
LimitCORE=0
LimitFSIZE=0
LimitLOCKS=0
LimitMEMLOCK=0
LimitNOFILE=512

View file

@ -1,5 +0,0 @@
[Meta]
Description=systemd Logging Socket
[Socket]
ListenStream=@/org/freedesktop/systemd1/logger