mirror of
https://github.com/azlux/log2ram.git
synced 2023-10-10 13:37:24 +02:00
remove ignore systemd
This commit is contained in:
parent
f86c90f9d6
commit
12e7a068a8
@ -22,3 +22,4 @@ install -m 644 log2ram.logrotate /etc/logrotate.d/log2ram
|
|||||||
rm -rf /var/hdd.log
|
rm -rf /var/hdd.log
|
||||||
|
|
||||||
echo "##### Reboot to activate log2ram #####"
|
echo "##### Reboot to activate log2ram #####"
|
||||||
|
echo "##### edit /etc/log2ram.conf to configure options ####"
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
Description=Log2Ram
|
Description=Log2Ram
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Before=basic.target rsyslog.service syslog.target systemd-journald.service sysinit.target shutdown.target apache2.service
|
Before=basic.target rsyslog.service syslog.target systemd-journald.service sysinit.target shutdown.target apache2.service
|
||||||
After=local-fs.target
|
After=local-fs.target zram-swap-config.target
|
||||||
Conflicts=shutdown.target reboot.target halt.target zram-swap-config.target
|
Conflicts=shutdown.target reboot.target halt.target
|
||||||
RequiresMountsFor=/var/log /var/hdd.log
|
RequiresMountsFor=/var/log /var/hdd.log
|
||||||
IgnoreOnIsolate=yes
|
#IgnoreOnIsolate=yes
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
Loading…
Reference in New Issue
Block a user