aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/stopUGAIM
blob: b206e69fdfafcfc1e5961497fca059750b6776e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
DELAY=5

screen -S server -X msgwait 1
sleep 1
screen -S server -X eval "select MessagingServer" "stuff ^Mshutdown^M"
sleep $DELAY
screen -S server -X eval "select InventoryServer" "stuff ^Mshutdown^M"
sleep $DELAY
screen -S server -X eval "select AssetServer" "stuff ^Mshutdown^M"
sleep $DELAY
screen -S server -X eval "select GridServer" "stuff ^Mshutdown^M"
sleep $DELAY
screen -S server -X eval "select UserServer" "stuff ^Mshutdown^M"

# just to be sure...
screen -d -r -S server