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 582 B

8 vuotta sitten
5 vuotta sitten
7 vuotta sitten
8 vuotta sitten
8 vuotta sitten
8 vuotta sitten
12345678910111213141516171819
  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. [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. TimeoutStartSec=120
  15. RemainAfterExit=yes
  16. [Install]
  17. WantedBy=sysinit.target