1
0
mirror of https://github.com/azlux/log2ram.git synced 2023-10-10 13:37:24 +02:00
log2ram/log2ram.service

14 lines
310 B
SYSTEMD
Raw Normal View History

2016-04-18 12:00:14 +02:00
[Unit]
Description=Log2Ram
Before=syslog.target mysql.service fail2ban.service nginx.service rsyslog.service
2016-04-18 12:00:14 +02:00
[Service]
Type=oneshot
2016-04-18 12:04:19 +02:00
ExecStart= /usr/local/bin/log2ram start
ExecStop= /usr/local/bin/log2ram stop
ExecReload= /usr/local/bin/log2ram write
2016-04-18 12:00:14 +02:00
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target