mirror of
https://github.com/azlux/log2ram.git
synced 2023-10-10 13:37:24 +02:00
Create log2ram.service
This commit is contained in:
parent
9cda5a2afc
commit
9cc827110d
14
log2ram.service
Normal file
14
log2ram.service
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Log2Ram
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart= /usr/local/bin/ramlog start
|
||||||
|
ExecStop= /usr/local/bin/ramlog stop
|
||||||
|
ExecReload= /usr/local/bin/ramlog write
|
||||||
|
|
||||||
|
Before=syslog.target mysql.service fail2ban.service nginx.service rsyslog.service
|
||||||
|
|
||||||
|
RemainAfterExit=yes
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Reference in New Issue
Block a user