#!/bin/sh # Copyright 2016 Christian 'Alloc' Illy # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # Root of the 7dtd folders, containing e.g. the "engine", "instances" folders export SDTD_BASE=/home/sdtd # How many seconds should stopping wait for the instance to shutdown export STOP_WAIT=5 # Backup options export SDTD_BACKUP_ROOT=/home/sdtd/backup export SDTD_BACKUP_SAVEWORLD=true export SDTD_BACKUP_MIN_BACKUPS_KEEP= export SDTD_BACKUP_MAX_BACKUPS= export SDTD_BACKUP_MAX_STORAGE= export SDTD_BACKUP_MAX_AGE= export SDTD_BACKUP_COMPRESS=none # User account and group to run the server export SDTD_USER=sdtd export SDTD_GROUP=sdtd # Paths to binaries. Use "which BINARYNAME" to find the path of a single binary export RSYNC=/usr/bin/rsync export XMLSTARLET=/usr/bin/xmlstarlet export PKILL=/usr/bin/pkill export SSD=/usr/local/lib/7dtd/start-stop-daemon/start-stop-daemon export EDITOR=/usr/bin/editor