View redis_exporter.service
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
[Unit] | |
Description=Redis Exporter | |
Wants=network-online.target | |
After=network-online.target | |
[Service] | |
User=redis_exporter | |
Group=redis_exporter | |
Type=simple | |
ExecStart=/usr/local/bin/redis_exporter |
View node_exporter.service
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
[Unit] | |
Description=Node Exporter | |
Wants=network-online.target | |
After=network-online.target | |
[Service] | |
User=node_exporter | |
Group=node_exporter | |
Type=simple | |
ExecStart=/usr/local/bin/node_exporter |
View remove-wp-meta.php
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
<?php | |
/* | |
Plugin Name: Remove WP Meta and Version | |
Plugin URI: https://gist.github.com/voidmonk/f8ebd732b30fcc1c18811e5b12a6e729 | |
Description: This plugin removes the auto-generated WP meta tags from each webpage. | |
Author: Lee Kelleher | |
Version: 0.3.0 | |
Author URI: http://leekelleher.com/ | |
*/ |
View sysctl.conf
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
# sysctl.conf optimized | |
# apply with: sudo sysctl -p | |
kernel.sem = 250 32000 100 128 | |
kernel.shmall = 2097152 | |
kernel.shmmax = 2147483648 | |
kernel.shmmni = 4096 | |
fs.file-max = 262140 | |
vm.swappiness = 5 | |
vm.vfs_cache_pressure = 50 |
View xvfb.service
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
[Unit] | |
Description=X Virtual Frame Buffer Service | |
After=network.target | |
[Service] | |
ExecStart=/usr/bin/Xvfb :1 -screen 0 1024x768x24 -ac +extension GLX +render -noreset -nolisten tcp | |
Restart=always | |
[Install] | |
WantedBy=multi-user.target |
View xvfb
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
### BEGIN INIT INFO | |
# Provides: Xvfb | |
# Required-Start: $local_fs $remote_fs | |
# Required-Stop: | |
# X-Start-Before: | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Loads X Virtual Frame Buffer | |
### END INIT INFO |