Browse Source

simplify run.sh

Requires a fix for oragono/oragono#622, can be merged into stable
once that fix is in the oragono stable branch.
pull/17/head
Shivaram Lingamneni 4 years ago
parent
commit
ca3b71c3b6
1 changed files with 2 additions and 9 deletions
  1. 2
    9
      run.sh

+ 2
- 9
run.sh View File

@@ -22,15 +22,8 @@ if [ ! -f "/ircd/ircd.yaml" ]; then
22 22
     mv /tmp/ircd2.yaml /ircd/ircd.yaml
23 23
 fi
24 24
 
25
-# make db
26
-if [ ! -f "/ircd/ircd.db" ]; then
27
-    /ircd-bin/oragono initdb
28
-fi
29
-
30
-# make self-signed certs
31
-if [ ! -f "/ircd/tls.key" ]; then
32
-    /ircd-bin/oragono mkcerts
33
-fi
25
+# make self-signed certs if they don't already exist
26
+/ircd-bin/oragono mkcerts
34 27
 
35 28
 # run!
36 29
 exec /ircd-bin/oragono run

Loading…
Cancel
Save