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

20 lines
579 B
SYSTEMD
Raw Permalink Normal View History

2016-04-18 12:00:14 +02:00
[Unit]
Description=Log2Ram
DefaultDependencies=no
2022-01-05 22:33:53 +01:00
Before=basic.target rsyslog.service syslog-ng.service syslog.target systemd-journald.service sysinit.target shutdown.target zram-swap-conf.service apache2.service lighttpd.service
After=local-fs.target
2019-03-09 04:24:27 +01:00
Conflicts=shutdown.target reboot.target halt.target
2017-10-09 13:33:20 +02:00
RequiresMountsFor=/var/log /var/hdd.log
IgnoreOnIsolate=yes
2016-04-18 12:00:14 +02:00
[Service]
Type=oneshot
2022-12-01 13:58:54 +01:00
ExecStart=/usr/local/bin/log2ram start
ExecStop=/usr/local/bin/log2ram stop
ExecReload=/usr/local/bin/log2ram write
TimeoutStartSec=120
2016-04-18 12:00:14 +02:00
RemainAfterExit=yes
[Install]
WantedBy=sysinit.target