summaryrefslogtreecommitdiff
path: root/src/plop_sup.erl
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2014-11-15 00:22:05 +0100
committerMagnus Ahltorp <map@kth.se>2014-11-19 05:03:19 +0100
commiteabc9b4bdca8409601400276018eb9eec6a162d0 (patch)
tree4a14a9b1b5ac8dece1ead56861576b424ce59639 /src/plop_sup.erl
parentc224989af3216b92c668c2f979b83551d49760cc (diff)
Move signing code to sign module
Diffstat (limited to 'src/plop_sup.erl')
-rw-r--r--src/plop_sup.erl7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plop_sup.erl b/src/plop_sup.erl
index 663b3bc..eb65925 100644
--- a/src/plop_sup.erl
+++ b/src/plop_sup.erl
@@ -38,8 +38,13 @@ init(Args) ->
permanent,
10000,
worker, [ht]},
+ {the_signing,
+ {sign, start_link, Args}, % All arguments go to sign.
+ permanent,
+ 10000,
+ worker, [sign]},
{the_plop,
- {plop, start_link, Args}, % All arguments go to plop.
+ {plop, start_link, []},
permanent,
10000, % Shut down within 10s.
worker, [plop]}]}}.