Add some demo units

This commit is contained in:
Vincent Ambo 2016-01-21 16:21:39 +01:00
parent f368f12a90
commit d2e97f4042
No known key found for this signature in database
GPG key ID: 66F505681DB8F43B
6 changed files with 66 additions and 0 deletions

27
demo/notes.md Normal file
View file

@ -0,0 +1,27 @@
# 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