Skip to content

Instantly share code, notes, and snippets.

View koi-chan's full-sized avatar

koi-chan koi-chan

View GitHub Profile
# Pass --without docs to rpmbuild if you don't want the documentation
Name: git
Version: 2.3.10
Release: 1%{?dist}
Summary: Core git tools
License: GPL
Group: Development/Tools
URL: http://kernel.org/pub/software/scm/git/
Source: http://kernel.org/pub/software/scm/git/%{name}-%{version}.tar.gz
114a115,117
> %configure \
> --with-libiconv=/usr/local
>
232c235
< * Mon Feb 04 2009 David J. Mellor <[email protected]>
---
> * Wed Feb 04 2009 David J. Mellor <[email protected]>
265c268
< * Tue May 13 2007 Quy Tonthat <[email protected]>
<?xml version="1.0" encoding="utf-8"?>
<service>
<short>TeamSpeak3</short>
<description>TeamSpeak3 (Voice Chat Server daemon)</description>
<port protocol="udp" port="9987"/>
<port protocol="tcp" port="30033" />
</service>
[Unit]
Description=TeamSpeak3 - Voice Chat Server
Documentation=http://www.teamspeak.com/?page=teamspeak3
After=network.target
[Service]
User=teamspeak
Group=teamspeak
Type=forking
WorkingDirectory=/home/teamspeak/teamspeak3
[config]
host=127.0.0.1
port=3306
username=teamspeak
password=<write-DB-password>
database=teamspeak3
socket=
machine_id=5
dbplugin=ts3db_mariadb
dbpluginparameter=ts3db_mariadb.ini
dbsqlpath=sql/
dbsqlcreatepath=create_mariadb/
loadmodule "extensions/m_webirc.so";
class "webirc" {
ping_time = 2 minutes;
number_per_ip = 10;
number_per_ip_global = 10;
max_number = 0;
sendq = 100kbytes;
};
server {
listen 80;
server_name webirc.cre.jp;
access_log /var/log/nginx/webirc.cre.jp-access.log;
error_log /var/log/nginx/webirc.cre.jp-error.log;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
[Unit]
Description=KiwiIRC - Internet Relay Chat Web Client
Documentation=https://kiwiirc.com/
After=network.target
[Service]
User=kiwiirc
Group=kiwiirc
Type=forking
PIDFile=/home/kiwiirc/KiwiIRC/kiwiirc.pid
[Unit]
Description=RGRB - Internet Relay Chat bot
Documentation=http://www.cre.ne.jp/services/irc/bots/rgrb
After=network.target
[Service]
User=irc
Group=irc
Type=simple
PIDFile=/home/irc/rgrb/%I.pid