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/sh | |
# chkconfig: 2345 98 02 | |
# description: PipelineDB | |
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin | |
# Data directory | |
PDATA="/data/pipelinedb/data" | |
PUSER=pipelinedb |
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
server { | |
listen 80; | |
server_name icinga-{{ datacenter }}.{{ domain }}; | |
rewrite ^ https://$host$request_uri? permanent; | |
} | |
server { | |
listen 443 ssl; | |
ssl_certificate "/etc/pki/tls/certs/star.{{ domain }}-combined.crt"; | |
ssl_certificate_key "/etc/pki/tls/private/star.{{ domain }}.key"; |
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 | |
VPN_USER=xxxxx | |
VPN_PASS=xxxxx | |
VPN_URL=https://x.x.x.x | |
PID_FILE="/tmp/openconnect-pid" | |
case "$1" in | |
start) | |
sudo openvpn --mktun --dev tun1 && \ |