Browse Source

Finish setting up service file & script

master
Starbeamrainbowlabs 4 years ago
parent
commit
ba3142894f
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
  1. 2
      rhinoreminds.service
  2. 8
      start_service.sh

2
rhinoreminds.service

@ -8,7 +8,7 @@ Type=simple @@ -8,7 +8,7 @@ Type=simple
# Another Type option: forking
User=rhinoreminds
WorkingDirectory=/srv/rhinoreminds
ExecStart=/usr/bin/mono /srv/rhinoreminds/RhinoReminds.service --domain starbeamrainbowlabs.com
ExecStart=/srv/rhinoreminds/start_service.sh
Restart=on-failure
# Other Restart options: or always, on-abort, etc

8
start_service.sh

@ -0,0 +1,8 @@ @@ -0,0 +1,8 @@
#!/usr/bin/env bash
source .xmpp_credentials
export XMPP_JID;
export XMPP_PASSWORD;
exec /usr/bin/mono RhinoReminds.exe --domain starbeamrainbowlabs.com
Loading…
Cancel
Save