mirror of
https://github.com/azlux/log2ram.git
synced 2023-10-10 13:37:24 +02:00
parent
ded0d7b895
commit
18c009a6dd
@ -39,3 +39,12 @@ If you have issue with apache2 , you can try to add `apache2.service` next to ot
|
|||||||
The log for log2ram will be write here : `/var/log.hdd/log2ram.log`
|
The log for log2ram will be write here : `/var/log.hdd/log2ram.log`
|
||||||
|
|
||||||
###### Now, muffins for everyone !
|
###### Now, muffins for everyone !
|
||||||
|
|
||||||
|
|
||||||
|
## Uninstall :(
|
||||||
|
(Because sometime we need it)
|
||||||
|
```
|
||||||
|
cd log2ram
|
||||||
|
chmod +x uninstall.sh
|
||||||
|
sudo ./uninstall.sh
|
||||||
|
```
|
14
uninstall.sh
Normal file
14
uninstall.sh
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
if [ `id -u` -eq 0 ]
|
||||||
|
then
|
||||||
|
service log2ram stop
|
||||||
|
systemctl disable log2ram
|
||||||
|
rm /etc/systemd/system/log2ram.service
|
||||||
|
rm /usr/local/bin/log2ram
|
||||||
|
rm etc/log2ram.conf
|
||||||
|
rm /etc/cron.hourly/log2ram
|
||||||
|
echo "##### Reboot isn't needed #####"
|
||||||
|
else
|
||||||
|
echo "You need to be ROOT (sudo can be used)"
|
||||||
|
fi
|
Loading…
Reference in New Issue
Block a user