1
0
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:
azlux 2016-04-18 12:00:14 +02:00
parent 9cda5a2afc
commit 9cc827110d

14
log2ram.service Normal file
View 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