Commit b5b62074 authored by Benedict Baskar's avatar Benedict Baskar Committed by Kristian Klausen
Browse files

Remove syslog-ng related configs

Fix #376
parent 43772844
...@@ -16,8 +16,5 @@ ...@@ -16,8 +16,5 @@
systemd: systemd:
daemon_reload: true daemon_reload: true
- name: restart syslog-ng
service: name=syslog-ng@default state=restarted
- name: restart systemd-zram-setup@zram0 - name: restart systemd-zram-setup@zram0
service: name=systemd-zram-setup@zram0 state=restarted daemon_reload=yes service: name=systemd-zram-setup@zram0 state=restarted daemon_reload=yes
...@@ -113,22 +113,6 @@ ...@@ -113,22 +113,6 @@
notify: notify:
- restart journald - restart journald
- name: install syslog-ng
pacman: name=syslog-ng state=present
- name: configure syslog-ng
template: src=syslog-ng.conf.j2 dest=/etc/syslog-ng/syslog-ng.conf owner=root group=root mode=0600
notify:
- restart syslog-ng
- name: configure syslog-ng default config
template: src=syslog-ng@default.j2 dest=/etc/default/syslog-ng@default owner=root group=root mode=0644
notify:
- restart syslog-ng
- name: start syslog-ng
service: name=syslog-ng@default state=started enabled=yes
- name: install system.conf - name: install system.conf
template: src=system.conf.j2 dest=/etc/systemd/system.conf owner=root group=root mode=0644 template: src=system.conf.j2 dest=/etc/systemd/system.conf owner=root group=root mode=0644
notify: notify:
......
@version: 3.17
@include "scl.conf"
#
# /etc/syslog-ng/syslog-ng.conf
#
options {
stats_freq (0);
flush_lines (0);
time_reopen (10);
log_fifo_size (10000);
chain_hostnames (off);
use_dns (no);
use_fqdn (no);
create_dirs (no);
keep_hostname (yes);
perm(0640);
group("log");
};
source src {
system();
internal();
};
destination d_everything { file("/var/log/everything.log"); };
log { source(src); destination(d_everything); };
CONFIG_FILE=/etc/syslog-ng/syslog-ng.conf
PERSIST_FILE=/var/lib/syslog-ng/syslog-ng.persist
CONTROL_FILE=/var/lib/syslog-ng/syslog-ng.ctl
PID_FILE=/run/syslog-ng.pid
OTHER_OPTIONS="--enable-core"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment