diff options
author | Mario <mario@mariovavti.com> | 2021-01-25 20:28:03 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-01-25 20:28:03 +0000 |
commit | 1b4bbcc89113b10a43ab7010b9d00d8bedb52e64 (patch) | |
tree | b600aa2ef47536cb4af613c45189bddbef072f98 | |
parent | 0e9d99c603d84b76c4774aa39dc782992bd91cdc (diff) | |
parent | 3ed444b4b4cb1817ab1c780138d4bef0b8909876 (diff) | |
download | volse-hubzilla-1b4bbcc89113b10a43ab7010b9d00d8bedb52e64.tar.gz volse-hubzilla-1b4bbcc89113b10a43ab7010b9d00d8bedb52e64.tar.bz2 volse-hubzilla-1b4bbcc89113b10a43ab7010b9d00d8bedb52e64.zip |
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
-rw-r--r--[-rwxr-xr-x] | util/storageconv | 0 | ||||
-rwxr-xr-x | util/storageconv.sh | 6 |
2 files changed, 6 insertions, 0 deletions
diff --git a/util/storageconv b/util/storageconv index 52bb77fbb..52bb77fbb 100755..100644 --- a/util/storageconv +++ b/util/storageconv diff --git a/util/storageconv.sh b/util/storageconv.sh new file mode 100755 index 000000000..90abdf0ef --- /dev/null +++ b/util/storageconv.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +WWWUSER=$(ps aux | egrep '([a|A]pache|[h|H]ttpd|lighttpd|[n|N]ginx|h2o)' | awk '{ print $1}' | uniq | grep -v `whoami` | tail -1) + +sudo -u $WWWUSER php util/storageconv $* + |