mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
this makes no sense and may stop systemd-tmpfiles-setup, journald-flush, sshd, irserver from starting === Jan 18 18:23:03 openelec systemd[1]: Found ordering cycle on systemd-tmpfiles-setup.service/start Jan 18 18:23:03 openelec systemd[1]: Found dependency on systemd-journal-flush.service/start Jan 18 18:23:03 openelec systemd[1]: Found dependency on var-log-debug.service/start Jan 18 18:23:03 openelec systemd[1]: Found dependency on systemd-tmpfiles-setup.service/start Jan 18 18:23:03 openelec systemd[1]: Breaking ordering cycle by deleting job systemd-journal-flush.service/start === units with DefaultDependencies=no should be always properly ordered.
19 lines
455 B
Desktop File
19 lines
455 B
Desktop File
[Unit]
|
|
Description=Debug /var/log relink
|
|
DefaultDependencies=false
|
|
After=var.mount
|
|
Before=systemd-journal-flush.service
|
|
ConditionKernelCommandLine=!installer
|
|
ConditionKernelCommandLine=|debugging
|
|
ConditionPathExists=|/storage/.cache/debug.openelec
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStartPre=/bin/rm -rf /var/log
|
|
ExecStartPre=-/bin/mkdir -p /storage/log/journal
|
|
ExecStart=-/bin/ln -sf /storage/log /var/log
|
|
RemainAfterExit=yes
|
|
|
|
[Install]
|
|
WantedBy=sysinit.target
|