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
Branches
Tags
No related merge requests found
......@@ -1539,6 +1539,10 @@ showUsage() {
exit 1
}
showsetusermesg() {
echo "Please edit $0 and set the variable RUN_AS_USER."
}
docommand() {
case "$COMMAND" in
'console')
......@@ -1612,6 +1616,10 @@ docommand() {
'install')
installdaemon
if [ ! `grep ^RUN_AS_USER $0` ]; then
showsetusermesg
fi
;;
'remove')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment