You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 rivejä
504 B

  1. [Unit]
  2. Description=Log2Ram
  3. DefaultDependencies=no
  4. Before=basic.target rsyslog.service syslog.target systemd-journald.service sysinit.target shutdown.target apache2.service
  5. After=local-fs.target
  6. Conflicts=shutdown.target reboot.target halt.target
  7. RequiresMountsFor=/var/log /var/log.hdd
  8. IgnoreOnIsolate=yes
  9. [Service]
  10. Type=oneshot
  11. ExecStart= /usr/local/bin/log2ram start
  12. ExecStop= /usr/local/bin/log2ram stop
  13. ExecReload= /usr/local/bin/log2ram write
  14. RemainAfterExit=yes
  15. [Install]
  16. WantedBy=sysinit.target