summaryrefslogtreecommitdiff
path: root/random-seed.service
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2018-08-10 23:19:42 -0400
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2018-08-10 23:20:01 -0400
commit4d590c83e1189f749aa1a4ac4f6497e9df65afdb (patch)
treec1e6fcf489f22704e54da65a144533e0351b4c86 /random-seed.service
parent59cfb5a84fd94fe72c4a19531bf014564a8b31f2 (diff)
downloadrandom-seed-4d590c83e1189f749aa1a4ac4f6497e9df65afdb.tar.xz
random-seed-4d590c83e1189f749aa1a4ac4f6497e9df65afdb.zip
Fix service files
Diffstat (limited to 'random-seed.service')
-rw-r--r--random-seed.service28
1 files changed, 0 insertions, 28 deletions
diff --git a/random-seed.service b/random-seed.service
deleted file mode 100644
index 04b2ef5..0000000
--- a/random-seed.service
+++ /dev/null
@@ -1,28 +0,0 @@
-[Unit]
-Description=Random seed load/save
-Documentation=man:random-seed(8) man:random(4)
-DefaultDependencies=no
-RequiresMountsFor=/var/lib
-Conflicts=shutdown.target
-After=systemd-remount-fs.service
-Before=sysinit.target shutdown.target
-ConditionVirtualization=!container
-
-[Service]
-Type=oneshot
-RemainAfterExit=yes
-ExecStart=/usr/local/sbin/random-seed load
-ExecStop=/usr/local/sbin/random-seed save
-CapabilityBoundingSet=CAP_SYS_ADMIN
-NoNewPrivileges=yes
-PrivateDevices=yes
-PrivateNetwork=yes
-ProtectKernelTunables=yes
-ProtectKernelModules=yes
-LockPersonality=yes
-TemporaryFileSystem=/:ro
-BindPaths=/var/lib
-TimeoutSec=30s
-
-[Install]
-WantedBy=sysinit.target