Finish setting up service file & script
This commit is contained in:
parent
9ebe99ca6f
commit
ba3142894f
2 changed files with 9 additions and 1 deletions
|
@ -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
Normal file
8
start_service.sh
Normal file
|
@ -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…
Reference in a new issue