aminda-nocron-reboot.service: add zram-generator just in case

This commit is contained in:
Aminda Suomalainen 2024-04-30 18:59:45 +03:00
parent 72ea5ca51e
commit fa5462212d
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,8 @@ ExecStartPre=-/usr/bin/systemctl enable --now systemd-resolved.service
ExecStartPre=-/usr/sbin/sysctl net.ipv6.conf.all.disable_ipv6=0
# These services are called here, so
ExecStartPre=-/usr/bin/systemctl start firewalld.service
# https://github.com/systemd/zram-generator
ExecStart=-/usr/bin/systemctl start /dev/zram0
# Ensure /etc/sysctl.d/ gets read
ExecStart=-/usr/sbin/sysctl -p --system
# Ensure we really allow ICMPv6 on FEDORA (or firewalld)