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.

log2ram.service 626 B

8 jaren geleden
2 jaren geleden
5 jaren geleden
7 jaren geleden
8 jaren geleden
8 jaren geleden
1234567891011121314151617181920
  1. [Unit]
  2. Description=Log2Ram
  3. DefaultDependencies=no
  4. Before=basic.target rsyslog.service syslog-ng.service syslog.target systemd-journald.service sysinit.target shutdown.target zram-swap-conf.service apache2.service lighttpd.service
  5. After=local-fs.target
  6. Conflicts=shutdown.target reboot.target halt.target
  7. RequiresMountsFor=/var/log /var/hdd.log
  8. IgnoreOnIsolate=yes
  9. Documentation=https://github.com/azlux/log2ram
  10. [Service]
  11. Type=oneshot
  12. ExecStart=/usr/local/bin/log2ram start
  13. ExecStop=/usr/local/bin/log2ram stop
  14. ExecReload=/usr/local/bin/log2ram write
  15. TimeoutStartSec=120
  16. RemainAfterExit=yes
  17. [Install]
  18. WantedBy=sysinit.target