mirror of
https://github.com/azlux/log2ram.git
synced 2023-10-10 13:37:24 +02:00
Move "Before" to "[Unit]"
This tweak is required to make it run under Ubuntu 16.04
This commit is contained in:
parent
e752e4890b
commit
5235641f44
@ -1,13 +1,11 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Log2Ram
|
Description=Log2Ram
|
||||||
|
Before=syslog.target mysql.service fail2ban.service nginx.service rsyslog.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart= /usr/local/bin/log2ram start
|
ExecStart= /usr/local/bin/log2ram start
|
||||||
ExecStop= /usr/local/bin/log2ram stop
|
ExecStop= /usr/local/bin/log2ram stop
|
||||||
ExecReload= /usr/local/bin/log2ram write
|
ExecReload= /usr/local/bin/log2ram write
|
||||||
|
|
||||||
Before=syslog.target mysql.service fail2ban.service nginx.service rsyslog.service
|
|
||||||
|
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
Loading…
Reference in New Issue
Block a user