Skip to content

Commit

Permalink
Use persistent storage for dev-list
Browse files Browse the repository at this point in the history
Signed-off-by: Ethan Dye <[email protected]>
  • Loading branch information
ecdye committed Dec 18, 2024
1 parent c6327ef commit e8da339
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion service/SystemD/zram-config.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Documentation=https://github.com/ecdye/zram-config/blob/main/README.md
DefaultDependencies=no
Before=basic.target rsyslog.service syslog-ng.service syslog.target systemd-journald.service sysinit.target shutdown.target
Conflicts=shutdown.target reboot.target halt.target
RequiresMountsFor=/var/log /opt/zram /tmp
RequiresMountsFor=/var/log /opt/zram
IgnoreOnIsolate=yes
After=local-fs.target

Expand Down
2 changes: 1 addition & 1 deletion zram-config
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ serviceConfiguration() {
fi
}

TMPDIR="/tmp"
TMPDIR="/usr/local/lib/zram-config"
ZDIR="/opt/zram"
ZLOG="/usr/local/share/zram-config/log/zram-config.log"
OS="$(grep -o '^ID=.*$' /etc/os-release | cut -d'=' -f2)"
Expand Down

0 comments on commit e8da339

Please sign in to comment.