Created
February 21, 2018 18:48
-
-
Save ishrakr/031641f389d003e1e83f2396543876ba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exec 2> /tmp/rc.local.log | |
exec 1>&2 | |
set -x | |
su - user -c '/path/to/script.sh' & | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment