Got rid of passthrough properties

We are now building with a version of snapcraft and snapd that doesn't
need the passthrough property for "after" commands in a daemon. We can
get rid of the properties, which will allow us to upload to the snap
store automatically, as a bonus.

Change-Id: I6defdac64f7b61a2894f3d6417597f7d03bc61d4
This commit is contained in:
Pete Vander Giessen 2020-01-30 17:20:59 +00:00
parent 725e299308
commit 0b1e97fffb
1 changed files with 2 additions and 4 deletions

View File

@ -176,8 +176,7 @@ apps:
ovs-vswitchd:
command: ovs-wrapper $SNAP/share/openvswitch/scripts/ovs-ctl --no-ovsdb-server --no-monitor --system-id=random start
stop-command: ovs-wrapper $SNAP/share/openvswitch/scripts/ovs-ctl --no-ovsdb-server stop
passthrough:
after: [ovsdb-server]
after: [ovsdb-server]
daemon: forking
# plugs:
# - network
@ -217,8 +216,7 @@ apps:
external-bridge:
command: wait-on-init setup-br-ex
daemon: oneshot
passthrough:
after: [ovs-vswitchd]
after: [ovs-vswitchd]
# plugs:
# - network