Browse Source

Add manual refresh of certs

Joachim M. Giæver 3 years ago
parent
commit
a53f7ee006
1 changed files with 10 additions and 3 deletions
  1. 10 3
      snap/snapcraft.yaml

+ 10 - 3
snap/snapcraft.yaml

@@ -23,9 +23,16 @@ apps:
       - configurations
   certs-daemon:
     command: bin/certs-daemon
-    # daemon: oneshot
-    # restart-condition: always
-    # timer: 00:00-24:00/287
+    daemon: oneshot
+    restart-condition: always
+    timer: 00:00-24:00/287
+    slots:
+      - certs
+    plugs:
+      - network
+      - network-bind
+  refresh-certs:
+    command: bin/certs-daemon
     slots:
       - certs
     plugs: