Browse Source

Nest data deeper

master
dave 2 years ago
parent
commit
63ca2bdf07
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      start

+ 3
- 2
start View File

@@ -1,7 +1,8 @@
#!/bin/sh
set -x

chown -R repobot:repobot /data
install -d /data/db -o repobot -g repobot || true
install -d /data/data -o repobot -g repobot || true
chown -R repobot:repobot /data/db /data/data

exec sudo -Hu repobot repobotd --data-root /data --database /data/db/repos.db $@
exec sudo -Hu repobot repobotd --data-root /data/data --database /data/db/repos.db $@

Loading…
Cancel
Save