aboutsummaryrefslogtreecommitdiff
path: root/run_gitea.sh
diff options
context:
space:
mode:
authorEfraim Flashner2020-03-01 04:10:04 -0600
committerEfraim Flashner2020-03-01 04:10:04 -0600
commitf843d9c7bb5c3e3e1a6d678b67943231e97a0762 (patch)
treef487c39165d70f1139d48c0bdcbbb9424aaeb3ce /run_gitea.sh
downloadgn-shepherd-services-f843d9c7bb5c3e3e1a6d678b67943231e97a0762.tar.gz
initial commit
Diffstat (limited to 'run_gitea.sh')
-rwxr-xr-xrun_gitea.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/run_gitea.sh b/run_gitea.sh
new file mode 100755
index 0000000..e5bfe29
--- /dev/null
+++ b/run_gitea.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+/bin/su -l gitea -c 'GITEA_WORK_DIR=/var/lib/git/gitea HOME=/var/lib/git/gitea $(/var/guix/profiles/per-user/shepherd/current-guix/bin/guix build gitea)/bin/gitea --port 3300'