12 lines
419 B
Bash
Executable file
12 lines
419 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
cd data;
|
|
source .xmpp_credentials;
|
|
|
|
# Execute & disown
|
|
# We pass the environment variables explicitly here, as then we don't accidentally pass something private.
|
|
# Better to be safe than sorry - defence in depth!
|
|
sudo -u username_here XMPP_JID="${XMPP_JID}" XMPP_PASSWORD="${XMPP_PASSWORD}" /usr/bin/mono RhinoReminds.exe --domain starbeamrainbowlabs.com
|
|
echo "$!" >/run/rhinoreminds.pid;
|
|
disown;
|
|
|