mirror of
https://github.com/tommytran732/Fedora-CoreOS-Ignition
synced 2024-12-22 14:42:16 -05:00
Use link for unbound
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
3148545adf
commit
c2dc6c9363
File diff suppressed because one or more lines are too long
@ -47,24 +47,6 @@ systemd:
|
||||
ExecStart=/bin/systemctl disable systemd-resolved
|
||||
ExecStart=/bin/systemctl --no-block reboot
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
- name: postinst2.service
|
||||
enabled: true
|
||||
contents: |
|
||||
[Unit]
|
||||
Description=Initial System Setup Part 2
|
||||
# We run this after the packages have been overlayed
|
||||
After=network-online.target
|
||||
ConditionPathExists=!/var/lib/%N.stamp
|
||||
ConditionPathExists=/var/lib/postinst.stamp
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/bin/systemctl enable --now unbound
|
||||
ExecStart=/bin/touch /var/lib/%N.stamp
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
- name: setsebool.service
|
||||
@ -230,10 +212,10 @@ storage:
|
||||
links:
|
||||
- path: /etc/localtime
|
||||
target: ../usr/share/zoneinfo/America/New_York
|
||||
- path: /etc/systemd/system/multi-user.target.wants/unbound.service
|
||||
target: /usr/lib/systemd/system/unbound.service
|
||||
- path: /etc/systemd/system/multi-user.target.wants/tuned.service
|
||||
target: /usr/lib/systemd/system/tuned.service
|
||||
- path: /etc/systemd/system/multi-user.target.wants/fail2ban.service
|
||||
target: /usr/lib/systemd/system/fail2ban.service
|
||||
- path: /etc/systemd/system/kdump.service.target
|
||||
target: /dev/null
|
||||
kernel_arguments:
|
||||
|
File diff suppressed because one or more lines are too long
@ -62,7 +62,6 @@ systemd:
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/bin/systemctl enable --now unbound
|
||||
ExecStart=/usr/bin/docker run --detach --privileged --name watchtower --restart unless-stopped -v /var/run/docker.sock:/var/run/docker.sock -v /etc/localtime:/etc/localtime:ro containrrr/watchtower --schedule "0 5 0 * * 1"
|
||||
ExecStart=/bin/touch /var/lib/%N.stamp
|
||||
|
||||
@ -212,6 +211,8 @@ storage:
|
||||
links:
|
||||
- path: /etc/localtime
|
||||
target: ../usr/share/zoneinfo/America/New_York
|
||||
- path: /etc/systemd/system/multi-user.target.wants/unbound.service
|
||||
target: /usr/lib/systemd/system/unbound.service
|
||||
- path: /etc/systemd/system/multi-user.target.wants/tuned.service
|
||||
target: /usr/lib/systemd/system/tuned.service
|
||||
- path: /etc/systemd/system/kdump.service.target
|
||||
|
Loading…
Reference in New Issue
Block a user