Last change
on this file since 83 was 23, checked in by alloc, 11 years ago |
Version 6: Instance editing more userfriendly
|
-
Property svn:executable
set to
*
|
File size:
613 bytes
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 |
|
---|
3 | ### BEGIN INIT INFO
|
---|
4 | # Provides: 7dtd-server
|
---|
5 | # Required-Start: $remote_fs
|
---|
6 | # Required-Stop: $remote_fs
|
---|
7 | # Should-Start: $named
|
---|
8 | # Should-Stop: $named
|
---|
9 | # Default-Start: 2 3 4 5
|
---|
10 | # Default-Stop: 0 1 6
|
---|
11 | # Short-Description: 7 Days to Die server
|
---|
12 | # Description: Starts a 7 Days to Die server
|
---|
13 | ### END INIT INFO
|
---|
14 |
|
---|
15 | case "$1" in
|
---|
16 | start)
|
---|
17 | /usr/local/bin/7dtd.sh start "!"
|
---|
18 | ;;
|
---|
19 | stop)
|
---|
20 | /usr/local/bin/7dtd.sh kill "!"
|
---|
21 | ;;
|
---|
22 | status)
|
---|
23 | /usr/local/bin/7dtd.sh instances
|
---|
24 | ;;
|
---|
25 | *)
|
---|
26 | echo "Usage: ${0} {start|stop|status}"
|
---|
27 | exit 2
|
---|
28 | esac
|
---|
29 | exit 0
|
---|
Note:
See
TracBrowser
for help on using the repository browser.