Update demo units, change font size

This commit is contained in:
Vincent Ambo 2016-01-21 19:32:37 +01:00
parent d2e97f4042
commit 1eb2797d03
9 changed files with 21 additions and 10 deletions

View file

@ -5,4 +5,3 @@ Before=slices.target
[Slice]
CPUQuota=10%
MemoryLimit=1G

6
demo/demo-path.path Normal file
View file

@ -0,0 +1,6 @@
[Unit]
Description=Demonstrate systemd path units
[Path]
DirectoryNotEmpty=/tmp/hackeriet
Unit=demo.service

6
demo/demo-stress.service Normal file
View file

@ -0,0 +1,6 @@
[Unit]
Description=Stress test CPU
[Service]
Slice=demo.slice
ExecStart=/usr/bin/stress -c 5

View file

@ -1,6 +0,0 @@
[Unit]
Description=Demo unit for systemd timers
[Service]
Type=oneshot
ExecStart=/usr/bin/echo "Systemd timer fired! Hello Hackeriet."

View file

@ -5,7 +5,7 @@ Description=Demonstrate systemd timers
OnActiveSec=2
OnUnitActiveSec=5
AccuracySec=5
Unit=demo.service
# OnCalendar=Thu,Fri 2016-*-1,5 11:12:13
[Install]

6
demo/demo.service Normal file
View file

@ -0,0 +1,6 @@
[Unit]
Description=Demo unit for systemd
[Service]
Type=oneshot
ExecStart=/usr/bin/echo "Systemd unit activated. Hello Hackeriet."

View file

@ -1,4 +1,4 @@
\documentclass[14pt]{beamer}
\documentclass[12pt]{beamer}
\usetheme{metropolis}
\newenvironment{code}{\ttfamily}{\par}