summaryrefslogtreecommitdiff
path: root/serverd
diff options
context:
space:
mode:
authorHaoran S. Diao <0@hairydiode.xyz>2019-09-15 17:19:30 -0700
committerHaoran S. Diao <0@hairydiode.xyz>2019-09-15 17:19:30 -0700
commita45dfa38b8042512137741381e50b25197357591 (patch)
treed95e813aa790c0c5ee00e746e22134ae341ac1e0 /serverd
initial commit
Diffstat (limited to 'serverd')
-rwxr-xr-xserverd4
1 files changed, 4 insertions, 0 deletions
diff --git a/serverd b/serverd
new file mode 100755
index 0000000..f33abb5
--- /dev/null
+++ b/serverd
@@ -0,0 +1,4 @@
+#!/bin/bash
+echo "" > mc.in
+echo "" > mc.out
+tail -f mc.in | nohup $1 > mc.out &