浏览代码

remove ignore systemd

pull/66/head
StuartIanNaylor 5 年前
父节点
当前提交
12e7a068a8
共有 2 个文件被更改,包括 5 次插入4 次删除
  1. +2
    -1
      install.sh
  2. +3
    -3
      log2ram.service

+ 2
- 1
install.sh 查看文件

@@ -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 查看文件

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


正在加载...
取消
保存