diff --git a/conf/config.conf.example b/conf/config.conf.example index c61ea25..7613a69 100644 --- a/conf/config.conf.example +++ b/conf/config.conf.example @@ -55,8 +55,8 @@ port = 80 # Example unix socket server #[server.3] -#bind = unix:/tmp/webircgateway.sock -#bind_mode = 0777 +bind = unix:/tmp/webircgateway.sock +bind_mode = 0777 # Serve static files from a web root folder. # Optional, but handy for serving the Kiwi IRC client if no other webserver is available @@ -88,7 +88,7 @@ kiwiirc # Connections will be sent to a random upstream [upstream.1] -hostname = "irc.kiwiirc.com" +hostname = "chat.freenode.net" port = 6667 tls = false # Connection timeout in seconds diff --git a/conf/systemd.service b/conf/systemd.service index af430d0..5044bc3 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -4,11 +4,11 @@ Documentation=https://github.com/kiwiirc/webircgateway After=network.target [Service] -User=http -Group=http +User=www-data +Group=www-data ExecStart=/var/www/webircgateway/kiwiirc --config=/var/www/webircgateway/config.conf ExecReload=/usr/bin/kill -USR1 $MAINPID LimitNOFILE=1048576 [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=multi-user.target