aboutsummaryrefslogtreecommitdiff
path: root/setup.sh
diff options
context:
space:
mode:
authorWojciech Kosior <kwojtus@protonmail.com>2020-05-28 20:26:45 +0200
committerWojciech Kosior <kwojtus@protonmail.com>2020-05-28 20:26:45 +0200
commitc96321d576e79834f262486f44ab772f33053f7b (patch)
treede87af5d338768da0564a5fd934571c5426bfb30 /setup.sh
parentda06969d6d1b7628940ae6ed956f8a1a15ee5b22 (diff)
download0tdns-c96321d576e79834f262486f44ab772f33053f7b.tar.gz
0tdns-c96321d576e79834f262486f44ab772f33053f7b.zip
split installation and setup for easier packaging
Diffstat (limited to 'setup.sh')
-rwxr-xr-xsetup.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/setup.sh b/setup.sh
new file mode 100755
index 0000000..959a48f
--- /dev/null
+++ b/setup.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# run this script as root, once, at installation
+
+# more will go here (e.g. initialization of postgres database)
+
+# part of the program running inside network namespace
+# will run under this user
+useradd --system 0tdns