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

9 Commits

Author SHA1 Message Date
StuartIanNaylor
17f8207391 systemd conflict zram-swap-config 2019-03-08 18:21:27 +00:00
azlux
22dadff534 timeout added
I add timeout. In case of failure, logram will not freeze the OS startup.
2018-07-18 21:24:43 +02:00
azlux
b45e8e95a6 Update log2ram.service 2017-10-09 13:33:20 +02:00
azlux
9d76a1b082 /me trying to fixe apache2 2017-06-11 20:14:35 +02:00
zador-blood-stained
01632f9cb1 Update service dependencies to start on early boot
This changes log2ram dependencies to start as early as possible, before other
services that may require access to /var/log, including rsyslog and
systemd-journald.

Additional dependencies on shutdown.target are required to ensure that
the service will be stopped at shutdown/reboot when DefaultDependencies
is set to "no" [1].

RequiresMountsFor declares dependency on /var mount when it is a mount point.

IgnoreOnIsolate prevents stopping the service when isolating another unit.

[1]: https://www.freedesktop.org/software/systemd/man/systemd.service.html
2017-04-11 20:47:02 +03:00
azlux
83be051ed8 oneshot add
From @datenklause
With Type=oneshot, systemd waits until the start action has completed
before it considers the unit to be active, so dependencies start only
after the start action has succeeded. With Type=simple, dependencies
will start immediately after the start action has been dispatched.
2016-10-20 12:41:47 +02:00
Sailing74
5235641f44 Move "Before" to "[Unit]"
This tweak is required to make it run under Ubuntu 16.04
2016-07-30 16:41:58 +02:00
azlux
3b40e22315 change name 2016-04-18 12:04:19 +02:00
azlux
9cc827110d Create log2ram.service 2016-04-18 12:00:14 +02:00