summaryrefslogtreecommitdiffstats
path: root/snapcraft/snapcraft.yaml.in
diff options
context:
space:
mode:
authorMartin Winter <mwinter@opensourcerouting.org>2018-08-12 01:44:27 +0200
committerMartin Winter <mwinter@opensourcerouting.org>2018-08-13 23:55:59 +0200
commit138aa674c23675911fffa1568defa776ee864fba (patch)
tree57d00f635fe1cdd3afde9a11dc88bbb3c71e7ee9 /snapcraft/snapcraft.yaml.in
parentvtysh: Fix missing tailing / in --config_dir option parsing (diff)
downloadfrr-138aa674c23675911fffa1568defa776ee864fba.tar.xz
frr-138aa674c23675911fffa1568defa776ee864fba.zip
snapcraft: Add new staticd to snap package
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
Diffstat (limited to '')
-rw-r--r--snapcraft/snapcraft.yaml.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/snapcraft/snapcraft.yaml.in b/snapcraft/snapcraft.yaml.in
index b4e1812c8..48dc69278 100644
--- a/snapcraft/snapcraft.yaml.in
+++ b/snapcraft/snapcraft.yaml.in
@@ -113,6 +113,13 @@ apps:
- network
- network-bind
- network-control
+ staticd:
+ command: bin/staticd-service
+ daemon: simple
+ plugs:
+ - network
+ - network-bind
+ - network-control
set:
command: bin/set-options
zebra-debug:
@@ -193,6 +200,8 @@ apps:
- network
- network-bind
- network-control
+ staticd-debug:
+ command: sbin/staticd -f $SNAP_DATA/staticd.conf --pid_file $SNAP_DATA/staticd.pid --socket $SNAP_DATA/zsock --vty_socket $SNAP_DATA
parts:
frr: