Explorar el Código

remove ignore systemd

pull/66/head
StuartIanNaylor hace 5 años
padre
commit
12e7a068a8
Se han modificado 2 ficheros con 5 adiciones y 4 borrados
  1. +2
    -1
      install.sh
  2. +3
    -3
      log2ram.service

+ 2
- 1
install.sh Ver fichero

@@ -21,4 +21,5 @@ install -m 644 log2ram.logrotate /etc/logrotate.d/log2ram
# Make sure we start clean
rm -rf /var/hdd.log

echo "##### Reboot to activate log2ram #####"
echo "##### Reboot to activate log2ram #####"
echo "##### edit /etc/log2ram.conf to configure options ####"

+ 3
- 3
log2ram.service Ver fichero

@@ -2,10 +2,10 @@
Description=Log2Ram
DefaultDependencies=no
Before=basic.target rsyslog.service syslog.target systemd-journald.service sysinit.target shutdown.target apache2.service
After=local-fs.target
Conflicts=shutdown.target reboot.target halt.target zram-swap-config.target
After=local-fs.target zram-swap-config.target
Conflicts=shutdown.target reboot.target halt.target
RequiresMountsFor=/var/log /var/hdd.log
IgnoreOnIsolate=yes
#IgnoreOnIsolate=yes

[Service]
Type=oneshot


Cargando…
Cancelar
Guardar