blob: 31fe1358fe98c7b761a07760c8faae9995597225 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Copyright 2016, 2018 Luke Shumaker
# This work is free. You can redistribute it and/or modify it under the
# terms of the Do What The Fuck You Want To Public License, Version 2,
# as published by Sam Hocevar. See the COPYING file for more details.
[Unit]
Description=Update pristine /etc directory
Documentation=man:pristine-etc-keeper(8)
DefaultDependencies=no
Conflicts=shutdown.target
After=local-fs.target time-sync.target
Before=shutdown.target
[Service]
# Can't use Type=oneshot because that would block when starting
Type=simple
ExecStart=/etc/etckeeper/pristine/drain
IOSchedulingClass=idle
ProtectSystem=strict
ReadWritePaths=/var/lib/pristine-etc /etc/.git
PrivateTmp=true
|