-> hashicorp.com/resources/demystifying-service-mesh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# consul Manage the consul agent | |
# | |
# chkconfig: 2345 95 95 | |
# description: Consul is a tool for service discovery and configuration | |
# processname: consul | |
# config: /etc/consul.conf | |
# pidfile: /var/run/consul.pid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ for i in `cat types.xml |grep -B 9 "food"| grep "type name"| grep -v "CP_\|Opened\|Steak\|Lard\|Guts\|ChickenBreastMeat\|Plant_" | cut -d '"' -f 2`; do cat types.xml | grep -A 9 $i; done | |
<type name="AgaricusMushroom"> | |
<nominal>0</nominal> | |
<lifetime>900</lifetime> | |
<restock>1800</restock> | |
<min>0</min> | |
<quantmin>-1</quantmin> | |
<quantmax>-1</quantmax> | |
<cost>100</cost> | |
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:start | |
::Server name (This is just for the bat file) | |
set serverName="DayZ Demo Server" | |
::Server files location - May vary on where steam is installed. | |
set serverLocation="C:\Program Files (x86)\Steam\steamapps\common\DayZServer" | |
::Server Port | |
set serverPort=2302 | |
::Server config | |
set serverConfig=serverDZ_local.cfg |