summaryrefslogtreecommitdiff
path: root/parabolaweb-reporead-inotify.in
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2017-02-05 02:30:15 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2017-02-05 02:34:26 -0500
commitfc699adadba640164cf28335e1f89ce05b596ee4 (patch)
treeee3cf654465518470296fd59369f50591ca5102c /parabolaweb-reporead-inotify.in
parent2a6a7399f334f84d6c8665056d383b18222b452c (diff)
Have webuser be a compile-time config rather than run-time.
Diffstat (limited to 'parabolaweb-reporead-inotify.in')
-rw-r--r--parabolaweb-reporead-inotify.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/parabolaweb-reporead-inotify.in b/parabolaweb-reporead-inotify.in
index 66934ea..c179a67 100644
--- a/parabolaweb-reporead-inotify.in
+++ b/parabolaweb-reporead-inotify.in
@@ -1,6 +1,6 @@
#!/bin/bash -e
-# Copyright (c) 2012-2013 Luke Shumaker <lukeshu@sbcglobal.net>
+# Copyright (c) 2012-2013, 2017 Luke Shumaker <lukeshu@sbcglobal.net>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -20,5 +20,4 @@
[[ -e "${WEBDIR}/manage.py" ]]
[[ $# -eq 0 ]]
-sudo -u "${WEBUSER:-$USER}" python2 "${WEBDIR}/manage.py" reporead_inotify \
- "${INOTIFYARGS[@]}"
+python2 "${WEBDIR}/manage.py" reporead_inotify "${INOTIFYARGS[@]}"