mirror of
https://github.com/azlux/log2ram
synced 2024-11-21 12:56:10 +00:00
c399b4039e
> Closes #84 > Closes #77
13 lines
386 B
Bash
Executable File
13 lines
386 B
Bash
Executable File
#!/usr/bin/env bash
|
|
case "$1" in
|
|
upgrade)
|
|
[ -d /run/systemd/system/ ] && systemctl stop log2ram.service log2ram-daily.timer
|
|
exit 0
|
|
;;
|
|
*)
|
|
[ -d /run/systemd/system/ ] && systemctl stop log2ram.service log2ram-daily.timer
|
|
[ -d /run/systemd/system/ ] && systemctl disable log2ram.service log2ram-daily.timer
|
|
exit 0
|
|
;;
|
|
esac
|