mirror of
https://github.com/systemd/systemd
synced 2024-07-21 18:24:38 +00:00
test: rename test directory
This commit is contained in:
parent
0237edf7d2
commit
5e2c93666f
|
@ -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);
|
||||
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
multiuser.target
|
|
@ -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
|
|
@ -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
|
|
@ -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"
|
|
@ -1 +0,0 @@
|
|||
postfix.service
|
|
@ -1 +0,0 @@
|
|||
postfix.socket
|
|
@ -1,2 +0,0 @@
|
|||
[Meta]
|
||||
Description=Multi-User Target
|
|
@ -1 +0,0 @@
|
|||
../exec-demo.service
|
|
@ -1 +0,0 @@
|
|||
../fifo-demo.socket
|
|
@ -1 +0,0 @@
|
|||
../mail-transfer-agent.socket
|
|
@ -1 +0,0 @@
|
|||
../permissions.service
|
|
@ -1 +0,0 @@
|
|||
../systemd-logger.socket
|
|
@ -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
|
|
@ -1,7 +0,0 @@
|
|||
[Meta]
|
||||
Names=mail-transfer-agent.service
|
||||
Description=Postfix Mail Server
|
||||
Requires=syslog.socket
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/postfix
|
|
@ -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
|
|
@ -1,5 +0,0 @@
|
|||
[Meta]
|
||||
Description=System Logging Daemon
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/rsyslogd --foobar 'waldo'
|
|
@ -1,8 +0,0 @@
|
|||
[Meta]
|
||||
Description=Syslog Socket
|
||||
|
||||
[Socket]
|
||||
ListenDatagram=/tmp/foobar/waldo/systemd-syslog-socket
|
||||
ListenStream=eth0:3456
|
||||
DirectoryMode=0700
|
||||
SocketMode=0600
|
|
@ -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
|
|
@ -1,5 +0,0 @@
|
|||
[Meta]
|
||||
Description=systemd Logging Socket
|
||||
|
||||
[Socket]
|
||||
ListenStream=@/org/freedesktop/systemd1/logger
|
Loading…
Reference in a new issue