From 7f41e1a90946cdc5914f09e6058673d5640bc151 Mon Sep 17 00:00:00 2001 From: Simon Fels Date: Wed, 26 Apr 2017 08:43:15 +0200 Subject: [PATCH] Always try to restart anbox session service when it crashes --- data/anbox.service.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/anbox.service.in b/data/anbox.service.in index 933b4d1f..7cdd14f6 100644 --- a/data/anbox.service.in +++ b/data/anbox.service.in @@ -2,7 +2,11 @@ Description=Anbox session manager [Service] +Type=simple ExecStart=@SNAP_MOUNT_DIR@/anbox session-manager +Restart=always +StartLimitIntervalSec=3 +StartLimitBurst=1 [Install] WantedBy=default.target -- GitLab