This commit is contained in:
TuRz4m 2016-01-04 15:39:28 +01:00
parent 96c6a3f757
commit 6a93408761

View file

@ -59,9 +59,9 @@ You can easily configure automatic update and backup.
If you edit the file `/my/path/to/ark/crontab` you can add your crontab job. If you edit the file `/my/path/to/ark/crontab` you can add your crontab job.
For example : For example :
`# Update the server every hours` `# Update the server every hours`
`0 * * * * arkmanager update --warn --update-mods >> /ark/log/crontab.log 2&>1` `0 * * * * arkmanager update --warn --update-mods >> /ark/log/crontab.log 2>&1`
`# Backup the server each day at 00:00 ` `# Backup the server each day at 00:00 `
`0 0 * * * arkmanager backup >> /ark/log/crontab.log 2&>1` `0 0 * * * arkmanager backup >> /ark/log/crontab.log 2>&1`
*You can check [this website](http://www.unix.com/man-page/linux/5/crontab/) for more information on cron.* *You can check [this website](http://www.unix.com/man-page/linux/5/crontab/) for more information on cron.*
To add mods, you only need to change the variable ark_GameModIds in *arkmanager.cfg* with a list of your modIds (like this `ark_GameModIds="987654321,1234568"`). If UPDATEONSTART is enable, just restart your docker or use `docker exec ark arkmanager update --update-mods`. To add mods, you only need to change the variable ark_GameModIds in *arkmanager.cfg* with a list of your modIds (like this `ark_GameModIds="987654321,1234568"`). If UPDATEONSTART is enable, just restart your docker or use `docker exec ark arkmanager update --update-mods`.
@ -75,8 +75,8 @@ To add mods, you only need to change the variable ark_GameModIds in *arkmanager.
- Edit */my/path/to/ark/GameUserSetting.ini and Game.ini* - Edit */my/path/to/ark/GameUserSetting.ini and Game.ini*
- Edit */my/path/to/ark/arkserver.cfg* to add mods and configure warning time. - Edit */my/path/to/ark/arkserver.cfg* to add mods and configure warning time.
- Add auto update every day and autobackup by editing */my/path/to/ark/crontab* with this lines : - Add auto update every day and autobackup by editing */my/path/to/ark/crontab* with this lines :
`0 0 * * * arkmanager update --warn --update-mods >> /ark/log/crontab.log 2&>1` `0 0 * * * arkmanager update --warn --update-mods >> /ark/log/crontab.log 2>&1`
`0 0 * * * arkmanager backup >> /ark/log/crontab.log 2&>1` `0 0 * * * arkmanager backup >> /ark/log/crontab.log 2>&1`
- `docker start ark` - `docker start ark`
- Check your server with : - Check your server with :
`docker exec ark arkmanager status` `docker exec ark arkmanager status`