From 2e3b03b5ae04cc9d4da0001aff07962bf4107d42 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 26 Jun 2020 20:38:47 +0100 Subject: chore(tazjin): Move my presentations to my user directory Change-Id: I72b25680e7167c3a55477111c28b1d4936c60e2c Reviewed-on: https://cl.tvl.fyi/c/depot/+/606 Reviewed-by: tazjin --- presentations/systemd-2016/demo/demo-error.service | 7 ------ presentations/systemd-2016/demo/demo-limits.slice | 7 ------ .../systemd-2016/demo/demo-notify@.service | 6 ----- presentations/systemd-2016/demo/demo-path.path | 6 ----- .../systemd-2016/demo/demo-stress.service | 6 ----- presentations/systemd-2016/demo/demo-timer.timer | 12 ---------- presentations/systemd-2016/demo/demo.service | 6 ----- presentations/systemd-2016/demo/notes.md | 27 ---------------------- 8 files changed, 77 deletions(-) delete mode 100644 presentations/systemd-2016/demo/demo-error.service delete mode 100644 presentations/systemd-2016/demo/demo-limits.slice delete mode 100644 presentations/systemd-2016/demo/demo-notify@.service delete mode 100644 presentations/systemd-2016/demo/demo-path.path delete mode 100644 presentations/systemd-2016/demo/demo-stress.service delete mode 100644 presentations/systemd-2016/demo/demo-timer.timer delete mode 100644 presentations/systemd-2016/demo/demo.service delete mode 100644 presentations/systemd-2016/demo/notes.md (limited to 'presentations/systemd-2016/demo') diff --git a/presentations/systemd-2016/demo/demo-error.service b/presentations/systemd-2016/demo/demo-error.service deleted file mode 100644 index b2d4c9d34799..000000000000 --- a/presentations/systemd-2016/demo/demo-error.service +++ /dev/null @@ -1,7 +0,0 @@ -[Unit] -Description=Demonstrate failing units -OnFailure=demo-notify@%n.service - -[Service] -Type=oneshot -ExecStart=/usr/bin/false diff --git a/presentations/systemd-2016/demo/demo-limits.slice b/presentations/systemd-2016/demo/demo-limits.slice deleted file mode 100644 index 998185d26177..000000000000 --- a/presentations/systemd-2016/demo/demo-limits.slice +++ /dev/null @@ -1,7 +0,0 @@ -[Unit] -Description=Limited resources demo -DefaultDependencies=no -Before=slices.target - -[Slice] -CPUQuota=10% diff --git a/presentations/systemd-2016/demo/demo-notify@.service b/presentations/systemd-2016/demo/demo-notify@.service deleted file mode 100644 index e25524b4e230..000000000000 --- a/presentations/systemd-2016/demo/demo-notify@.service +++ /dev/null @@ -1,6 +0,0 @@ -[Unit] -Description=Demonstrate systemd templating by sending a notification - -[Service] -Type=oneshot -ExecStart=/usr/bin/notify-send 'Systemd notification' '%i' diff --git a/presentations/systemd-2016/demo/demo-path.path b/presentations/systemd-2016/demo/demo-path.path deleted file mode 100644 index 87f1342da995..000000000000 --- a/presentations/systemd-2016/demo/demo-path.path +++ /dev/null @@ -1,6 +0,0 @@ -[Unit] -Description=Demonstrate systemd path units - -[Path] -DirectoryNotEmpty=/tmp/hackeriet -Unit=demo.service diff --git a/presentations/systemd-2016/demo/demo-stress.service b/presentations/systemd-2016/demo/demo-stress.service deleted file mode 100644 index 7e14f13e29d9..000000000000 --- a/presentations/systemd-2016/demo/demo-stress.service +++ /dev/null @@ -1,6 +0,0 @@ -[Unit] -Description=Stress test CPU - -[Service] -Slice=demo.slice -ExecStart=/usr/bin/stress -c 5 diff --git a/presentations/systemd-2016/demo/demo-timer.timer b/presentations/systemd-2016/demo/demo-timer.timer deleted file mode 100644 index 34eccb98b02a..000000000000 --- a/presentations/systemd-2016/demo/demo-timer.timer +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=Demonstrate systemd timers - -[Timer] -OnActiveSec=2 -OnUnitActiveSec=5 -AccuracySec=5 -Unit=demo.service -# OnCalendar=Thu,Fri 2016-*-1,5 11:12:13 - -[Install] -WantedBy=multi-user.target diff --git a/presentations/systemd-2016/demo/demo.service b/presentations/systemd-2016/demo/demo.service deleted file mode 100644 index fcc710ad933f..000000000000 --- a/presentations/systemd-2016/demo/demo.service +++ /dev/null @@ -1,6 +0,0 @@ -[Unit] -Description=Demo unit for systemd - -[Service] -Type=oneshot -ExecStart=/usr/bin/echo "Systemd unit activated. Hello Hackeriet." diff --git a/presentations/systemd-2016/demo/notes.md b/presentations/systemd-2016/demo/notes.md deleted file mode 100644 index b4866b1642bb..000000000000 --- a/presentations/systemd-2016/demo/notes.md +++ /dev/null @@ -1,27 +0,0 @@ -# simple oneshot - -Run `demo-notify@hello.service` - -# simple timer - -Run `demo-timer.timer`, show both - -# enabling - -Enable `demo-timer.timer`, go to symlink folder, disable - -# OnError - -Show & run `demo-error.service` - -# cgroups demo - -Start `demo-stress.service` without, show in htop, stop -Show slice unit, start slice unit -Add Slice=demo-limits.slice -daemon-reload -Start stress again - -# Proper service - -Look at nginx unit -- cgit 1.4.1