summarylogtreecommitdiffstats
path: root/gitea.install
diff options
context:
space:
mode:
Diffstat (limited to 'gitea.install')
-rw-r--r--gitea.install4
1 files changed, 2 insertions, 2 deletions
diff --git a/gitea.install b/gitea.install
index 30ad584ced1b..7db55e1e4512 100644
--- a/gitea.install
+++ b/gitea.install
@@ -1,5 +1,5 @@
pre_install() {
- usermod -d /var/lib/gitea git
+ usermod -d /var/lib/gitea -s /usr/bin/bash git
}
post_install() {
@@ -23,5 +23,5 @@ pre_remove() {
}
post_remove() {
- usermod -d / git
+ usermod -d / -s /usr/bin/git-shell git
}