remove ignore systemd

This commit is contained in:
StuartIanNaylor 2019-03-09 03:24:27 +00:00
parent f86c90f9d6
commit 12e7a068a8
2 changed files with 5 additions and 4 deletions

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 ####"

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