Browse Source

remove ignore systemd

pull/66/head
StuartIanNaylor 5 years ago
parent
commit
12e7a068a8
2 changed files with 5 additions and 4 deletions
  1. +2
    -1
      install.sh
  2. +3
    -3
      log2ram.service

+ 2
- 1
install.sh View File

@@ -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 View File

@@ -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


Loading…
Cancel
Save