I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 57afc4cd authored by kytv's avatar kytv
Browse files

Advise to set RUN_AS_USER when installing as a daemon

parent 3a8a8c42
No related branches found
No related tags found
No related merge requests found
...@@ -1539,6 +1539,10 @@ showUsage() { ...@@ -1539,6 +1539,10 @@ showUsage() {
exit 1 exit 1
} }
showsetusermesg() {
echo "Please edit $0 and set the variable RUN_AS_USER."
}
docommand() { docommand() {
case "$COMMAND" in case "$COMMAND" in
'console') 'console')
...@@ -1612,6 +1616,10 @@ docommand() { ...@@ -1612,6 +1616,10 @@ docommand() {
'install') 'install')
installdaemon installdaemon
if [ ! `grep ^RUN_AS_USER $0` ]; then
showsetusermesg
fi
;; ;;
'remove') 'remove')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment