mirror of
https://github.com/azlux/log2ram.git
synced 2023-10-10 13:37:24 +02:00
for #47
This commit is contained in:
parent
2d7951a666
commit
34e4812369
@ -5,6 +5,7 @@ systemctl -q is-active log2ram && { echo "ERROR: log2ram service is still runni
|
|||||||
|
|
||||||
if [ "$(id -u)" -eq 0 ]
|
if [ "$(id -u)" -eq 0 ]
|
||||||
then
|
then
|
||||||
|
[ -d /usr/local/bin/ ] || mkdir /usr/local/bin/
|
||||||
cp log2ram.service /etc/systemd/system/log2ram.service
|
cp log2ram.service /etc/systemd/system/log2ram.service
|
||||||
chmod 644 /etc/systemd/system/log2ram.service
|
chmod 644 /etc/systemd/system/log2ram.service
|
||||||
cp log2ram /usr/local/bin/log2ram
|
cp log2ram /usr/local/bin/log2ram
|
||||||
|
Loading…
Reference in New Issue
Block a user