podman/libpod
Giuseppe Scrivano f936b745b6 podman: new option --conmon-pidfile=
so that it is possible to use systemd to automatically restart the
container:

[Service]
Type=forking
PIDFile=/run/awesome-service.pid
ExecStart=/usr/bin/podman run --conmon-pidfile=/run/awesome-service.pid --name awesome -d IMAGE /usr/bin/do-something
ExecStopPost=/usr/bin/podman rm awesome
Restart=always

Closes: https://github.com/projectatomic/libpod/issues/534

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>

Closes: #549
Approved by: rhatdan
2018-03-29 01:34:41 +00:00
..
common Change un/pwd handling to match Buildah's 2018-02-06 09:29:23 -05:00
driver Migrate Create|Commit to ginkgo 2018-02-02 22:44:40 +00:00
image Fix some minor issues lint has been picking up 2018-03-27 14:46:17 +00:00
layers Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
boltdb_state.go Convert bind mounts to use DB field 2018-03-08 16:40:21 +00:00
boltdb_state_internal.go Ensure container dependencies are part of the same pod 2018-03-29 01:27:40 +00:00
container.go podman: new option --conmon-pidfile= 2018-03-29 01:34:41 +00:00
container_api.go Stage 4 Image cleanup 2018-03-23 15:35:37 +00:00
container_attach.go Remove dependency on kubernetes 2018-03-27 21:55:33 +00:00
container_inspect.go Fix some minor issues lint has been picking up 2018-03-27 14:46:17 +00:00
container_internal.go Make container env variable conditional 2018-03-23 17:28:09 +00:00
container_top.go Stage3 Image Library 2018-03-14 20:21:31 +00:00
diff.go Stage 4 Image cleanup 2018-03-23 15:35:37 +00:00
errors.go Add schema validation to DB 2017-11-30 18:05:56 +00:00
finished_32.go Make libpod build on 32-bit systems 2018-02-13 15:39:07 +00:00
finished_64.go Make libpod build on 32-bit systems 2018-02-13 15:39:07 +00:00
in_memory_state.go Prevent ctrs not in pods from depending on pod ctrs 2018-03-29 01:27:40 +00:00
info.go Tweak info time format 2018-02-28 18:06:50 +00:00
networking.go networking.go tweak iptables functions 2018-03-03 19:45:24 +00:00
oci.go podman: new option --conmon-pidfile= 2018-03-29 01:34:41 +00:00
options.go podman: new option --conmon-pidfile= 2018-03-29 01:34:41 +00:00
pod.go Add StartAndAttach() API endpoint for containers 2018-03-15 17:45:11 +00:00
runtime.go Remove current SQLite DB driver 2018-03-26 20:18:24 +00:00
runtime_ctr.go Handle removing containers with active exec sessions 2018-03-01 21:17:51 +00:00
runtime_img.go Fix some minor issues lint has been picking up 2018-03-27 14:46:17 +00:00
runtime_img_test.go libpod/runtime_img_test.go Unit Tests 2017-11-04 11:12:14 -05:00
runtime_pod.go Replace usage of runc with runtime 2018-03-01 21:17:51 +00:00
state.go Containers in a pod can only join namespaces in that pod 2018-02-12 14:28:07 +00:00
state_test.go Prevent ctrs not in pods from depending on pod ctrs 2018-03-29 01:27:40 +00:00
stats.go podman stats add networking 2018-02-28 16:46:29 +00:00
storage.go CreateContainerStorage by image id 2018-02-23 17:44:28 +00:00
test_common.go Add location in DB for saving files to bind mount in 2018-03-08 16:40:21 +00:00
util.go Stage 4 Image cleanup 2018-03-23 15:35:37 +00:00
util_test.go Stage3 Image Library 2018-03-14 20:21:31 +00:00