Skip to content

Commit

Permalink
Merge pull request containers#7029 from vrothberg/2.0-systemd-cleanups
Browse files Browse the repository at this point in the history
[2.0] contrib/systemd cleanups
  • Loading branch information
openshift-merge-robot authored Jul 21, 2020
2 parents a5a5ad1 + 87ccd28 commit 1b8d0e4
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 33 deletions.
7 changes: 2 additions & 5 deletions contrib/systemd/system/podman.service
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,12 @@
Description=Podman API Service
Requires=podman.socket
After=podman.socket
Documentation=man:podman-api(1)
Documentation=man:podman-system-service(1)
StartLimitIntervalSec=0

[Service]
Type=oneshot
Environment=REGISTRIES_CONFIG_PATH=/etc/containers/registries.conf
Type=simple
ExecStart=/usr/bin/podman system service
TimeoutStopSec=30
KillMode=process

[Install]
WantedBy=multi-user.target
Expand Down
2 changes: 1 addition & 1 deletion contrib/systemd/system/podman.socket
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Unit]
Description=Podman API Socket
Documentation=man:podman-api(1)
Documentation=man:podman-system-service(1)

[Socket]
ListenStream=%t/podman/podman.sock
Expand Down
1 change: 1 addition & 0 deletions contrib/systemd/user
17 changes: 0 additions & 17 deletions contrib/systemd/user/podman.service

This file was deleted.

10 changes: 0 additions & 10 deletions contrib/systemd/user/podman.socket

This file was deleted.

0 comments on commit 1b8d0e4

Please sign in to comment.