mirror of https://github.com/azlux/log2ram.git
14 lines
310 B
SYSTEMD
14 lines
310 B
SYSTEMD
[Unit]
|
|
Description=Log2Ram
|
|
Before=syslog.target mysql.service fail2ban.service nginx.service rsyslog.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart= /usr/local/bin/log2ram start
|
|
ExecStop= /usr/local/bin/log2ram stop
|
|
ExecReload= /usr/local/bin/log2ram write
|
|
RemainAfterExit=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|