From a23e08ce20887efb4e158a02ffee1f775a0db89f Mon Sep 17 00:00:00 2001 From: Quentin Date: Sat, 12 Sep 2020 20:17:07 +0200 Subject: Refactor 2 --- app/build/seafile/seaenv | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 app/build/seafile/seaenv (limited to 'app/build/seafile/seaenv') diff --git a/app/build/seafile/seaenv b/app/build/seafile/seaenv new file mode 100755 index 0000000..3b0e0bb --- /dev/null +++ b/app/build/seafile/seaenv @@ -0,0 +1,7 @@ +#!/bin/bash + +chown seauser /srv/webstore +chown seauser -R /srv/webstore/ccnet +chown seauser -R /srv/webstore/conf + +runuser -u seauser -- "$@" -- cgit v1.2.3