link mounted journald /dev/log

This commit is contained in:
Jörg Thalheim 2015-01-14 20:17:57 +00:00
parent f7d1f18132
commit 55fa44af52
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,7 @@
[Unit]
Description=Symlink /dev/log to local journald
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/ln -s /run/systemd/journal/dev-log /dev/log

View File

@ -39,4 +39,9 @@
- name: backup directory - name: backup directory
file: path=/root/.vim.backupdir state=directory file: path=/root/.vim.backupdir state=directory
- name: create link-dev-log.service
copy: src=link-dev-log.service dest=/etc/systemd/system/link-dev-log.service mode=0644
- name: enable link-dev-log.service
file: src=/etc/systemd/system/link-dev-log.service dest=/etc/systemd/system/multi-user.target.wants/link-dev-log.service state=link
- include: ssh.yml - include: ssh.yml