-
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added basic ruby scripts that are used by a systemd service for dice maiden. Makes my life easier when it comes to automating startup of shards
- Loading branch information
1 parent
afb9934
commit acdf353
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/ruby | ||
# frozen_string_literal: true | ||
|
||
# simple ruby script for stopping dice maiden eye shards - used with systemd service | ||
p `eye stop shards` |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/ruby | ||
# frozen_string_literal: true | ||
|
||
# simple ruby script for starting dice maiden eye service and reporting basic result - used with systemd service | ||
eye = system('eye load') | ||
|
||
if eye | ||
puts 'eye is loading dice maiden service' | ||
else | ||
puts 'eye failed to load dice maiden service!' | ||
end |