Update demo units, change font size
This commit is contained in:
parent
d2e97f4042
commit
1eb2797d03
9 changed files with 21 additions and 10 deletions
|
@ -5,4 +5,3 @@ Before=slices.target
|
|||
|
||||
[Slice]
|
||||
CPUQuota=10%
|
||||
MemoryLimit=1G
|
||||
|
|
6
demo/demo-path.path
Normal file
6
demo/demo-path.path
Normal 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
6
demo/demo-stress.service
Normal file
|
@ -0,0 +1,6 @@
|
|||
[Unit]
|
||||
Description=Stress test CPU
|
||||
|
||||
[Service]
|
||||
Slice=demo.slice
|
||||
ExecStart=/usr/bin/stress -c 5
|
|
@ -1,6 +0,0 @@
|
|||
[Unit]
|
||||
Description=Demo unit for systemd timers
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/echo "Systemd timer fired! Hello Hackeriet."
|
|
@ -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
6
demo/demo.service
Normal file
|
@ -0,0 +1,6 @@
|
|||
[Unit]
|
||||
Description=Demo unit for systemd
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/echo "Systemd unit activated. Hello Hackeriet."
|
|
@ -1,4 +1,4 @@
|
|||
\documentclass[14pt]{beamer}
|
||||
\documentclass[12pt]{beamer}
|
||||
\usetheme{metropolis}
|
||||
|
||||
\newenvironment{code}{\ttfamily}{\par}
|
||||
|
|
Loading…
Add table
Reference in a new issue