1
0
mirror of https://github.com/tommytran732/Fedora-CoreOS-Ignition synced 2024-11-09 03:31:34 -05:00

Use link for unbound

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2023-01-24 02:33:44 -05:00
parent 3148545adf
commit c2dc6c9363
No known key found for this signature in database
GPG Key ID: 060B29EB996BD9F2
4 changed files with 6 additions and 23 deletions

File diff suppressed because one or more lines are too long

View File

@ -47,24 +47,6 @@ systemd:
ExecStart=/bin/systemctl disable systemd-resolved ExecStart=/bin/systemctl disable systemd-resolved
ExecStart=/bin/systemctl --no-block reboot 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] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
- name: setsebool.service - name: setsebool.service
@ -230,10 +212,10 @@ storage:
links: links:
- path: /etc/localtime - path: /etc/localtime
target: ../usr/share/zoneinfo/America/New_York 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 - path: /etc/systemd/system/multi-user.target.wants/tuned.service
target: /usr/lib/systemd/system/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 - path: /etc/systemd/system/kdump.service.target
target: /dev/null target: /dev/null
kernel_arguments: kernel_arguments:

File diff suppressed because one or more lines are too long

View File

@ -62,7 +62,6 @@ systemd:
[Service] [Service]
Type=oneshot Type=oneshot
RemainAfterExit=yes 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=/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 ExecStart=/bin/touch /var/lib/%N.stamp
@ -212,6 +211,8 @@ storage:
links: links:
- path: /etc/localtime - path: /etc/localtime
target: ../usr/share/zoneinfo/America/New_York 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 - path: /etc/systemd/system/multi-user.target.wants/tuned.service
target: /usr/lib/systemd/system/tuned.service target: /usr/lib/systemd/system/tuned.service
- path: /etc/systemd/system/kdump.service.target - path: /etc/systemd/system/kdump.service.target