Skip to content

Commit 9ca2381

Browse files
authored
Merge pull request #2424 from kinvolk/alban/systemd-run
Document how to use systemd-run
2 parents e17969c + 6ef65b7 commit 9ca2381

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docs/ops.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ This is not what we want.
6969
As ops, we want to be able to upgrade containerd and allow existing containers to keep running without interruption.
7070
Setting `KillMode` to `process` ensures that systemd only kills the containerd daemon and not any child processes such as the shims and containers.
7171

72+
The following `systemd-run` command starts containerd in a similar way:
73+
```
74+
sudo systemd-run -p Delegate=yes -p KillMode=process /usr/local/bin/containerd
75+
```
7276

7377
## Base Configuration
7478

0 commit comments

Comments
 (0)