aboutsummaryrefslogtreecommitdiff
path: root/lib/toglx/supervisor.ex
diff options
context:
space:
mode:
authorkballou <kballou@devnulllabs.io>2016-03-22 11:37:34 -0600
committerkballou <kballou@devnulllabs.io>2016-04-27 15:33:05 -0600
commit4ca1b6dbdd1c58155faddde18908e6b09e80c757 (patch)
treec6690f622cd36941a3b20689dc2b5440a1766bff /lib/toglx/supervisor.ex
downloadtoglx-4ca1b6dbdd1c58155faddde18908e6b09e80c757.tar.gz
toglx-4ca1b6dbdd1c58155faddde18908e6b09e80c757.tar.xz
toglx: toggl cli client - initial commitv0.0.1
Diffstat (limited to 'lib/toglx/supervisor.ex')
-rw-r--r--lib/toglx/supervisor.ex15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/toglx/supervisor.ex b/lib/toglx/supervisor.ex
new file mode 100644
index 0000000..74091a1
--- /dev/null
+++ b/lib/toglx/supervisor.ex
@@ -0,0 +1,15 @@
+defmodule Toglx.Supervisor do
+ use Supervisor
+
+ def start_link do
+ Supervisor.start_link(__MODULE__, [], name: __MODULE__)
+ end
+
+ def init(_) do
+ children = [
+ ]
+
+ opts = [strategy: :one_for_one]
+ supervise(children, opts)
+ end
+end