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

19 lines
504 B
SYSTEMD
Raw Normal View History

2016-04-18 12:00:14 +02:00
[Unit]
Description=Log2Ram
DefaultDependencies=no
2017-06-11 20:14:35 +02:00
Before=basic.target rsyslog.service syslog.target systemd-journald.service sysinit.target shutdown.target apache2.service
After=local-fs.target
2017-06-11 20:14:35 +02:00
Conflicts=shutdown.target reboot.target halt.target
RequiresMountsFor=/var/log /var/log.hdd
IgnoreOnIsolate=yes
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=sysinit.target