diff options
author | Azul <azul@riseup.net> | 2016-07-04 10:49:10 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2016-07-04 10:49:10 +0200 |
commit | 6732fef4df156a02ed83f006f19f66cf567b5340 (patch) | |
tree | 14824b08c4d0889e9767171ac5bafe3316a607f9 /bin | |
parent | e81c1a8cf274a13903be00c74c975c0cb2c20995 (diff) |
fix start / stop script
I have to admit I don't completely understand what is going on here.
https://github.com/celluloid/celluloid/wiki/Frequently-Asked-Questions says
you can either use sleep after initiating the actors or call run on them.
But this might not be true for reel. At least run did not work and now
new; sleep seems to work fine.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/nickserver | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/nickserver b/bin/nickserver index 8cf0738..93dfd53 100755 --- a/bin/nickserver +++ b/bin/nickserver @@ -21,4 +21,5 @@ require 'nickserver' Nickserver::Daemon.run('nickserver') do Nickserver::Server.start + sleep end |