Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Commit

Permalink
behaviour: Restart on exit
Browse files Browse the repository at this point in the history
Specify the restart behaviour in the service file to ensure that if the
proxy exits for any reason (except being told to by `systemctl(1)`), it
will be automatically restarted.

Fixes #152.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
  • Loading branch information
jodh-intel committed Oct 16, 2017
1 parent 7105257 commit 01fea78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cc-proxy.service.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Documentation=https://github.com/clearcontainers/proxy
[Service]
ExecStart=@libexecdir@/clear-containers/cc-proxy
LimitNOFILE=infinity
Restart=always

[Install]
WantedBy=multi-user.target

0 comments on commit 01fea78

Please sign in to comment.