Move systemd files to separate folders

This will help make subsequent synchronization with hosts easier, as
systemd files and potential dropins are guarnateed to exist under a
certain hierarchy that can be dropped as-is into host configuration
directories.
This commit is contained in:
Alex Palaistras 2021-03-26 20:47:08 +00:00
parent a9fd93097e
commit aafa8d9f12
40 changed files with 40 additions and 96 deletions

View File

@ -1,22 +1,11 @@
variant: fcos variant: fcos
version: 1.3.0 version: 1.3.0
storage: storage:
files:
- path: /etc/systemd/system/container-build@.service
contents:
local: common/container/container-build@.service
- path: /etc/systemd/system/container-build@.path
contents:
local: common/container/container-build@.path
- path: /etc/systemd/system/container-network@.service
contents:
local: common/container/container-network@.service
- path: /etc/systemd/system/container-environment@.service
contents:
local: common/container/container-environment@.service
trees: trees:
- local: service/ - path: /etc/container-service
path: /etc/container-service local: service/
- path: /etc/systemd/system
local: common/systemd/
directories: directories:
- path: /etc/container-service - path: /etc/container-service
mode: 0700 mode: 0700

View File

@ -1,10 +1,9 @@
variant: fcos variant: fcos
version: 1.3.0 version: 1.3.0
storage: storage:
files: trees:
- path: /etc/systemd/system/biboumi.service - path: /etc/systemd/system
contents: local: service/biboumi/systemd/
local: service/biboumi/biboumi.service
systemd: systemd:
units: units:
- name: biboumi.service - name: biboumi.service

View File

@ -1,10 +1,9 @@
variant: fcos variant: fcos
version: 1.3.0 version: 1.3.0
storage: storage:
files: trees:
- path: /etc/systemd/system/discord-ircd.service - path: /etc/systemd/system
contents: local: service/discord-ircd/systemd/
local: service/discord-ircd/discord-ircd.service
systemd: systemd:
units: units:
- name: discord-ircd.service - name: discord-ircd.service

View File

@ -1,13 +1,9 @@
variant: fcos variant: fcos
version: 1.3.0 version: 1.3.0
storage: storage:
files: trees:
- path: /etc/systemd/system/dovecot-firstboot.target - path: /etc/systemd/system
contents: local: service/dovecot/systemd/
local: service/dovecot/dovecot-firstboot.target
- path: /etc/systemd/system/dovecot.service
contents:
local: service/dovecot/dovecot.service
systemd: systemd:
units: units:
- name: dovecot-firstboot.target - name: dovecot-firstboot.target

View File

@ -1,16 +1,9 @@
variant: fcos variant: fcos
version: 1.3.0 version: 1.3.0
storage: storage:
files: trees:
- path: /etc/systemd/system/git.service - path: /etc/systemd/system
contents: local: service/git/systemd/
local: service/git/git.service
- path: /etc/systemd/system/git-ssh-pubkey@.service
contents:
local: service/git/git-ssh-pubkey@.service
- path: /etc/systemd/system/git-ssh-ed25519@.service
contents:
local: service/git/git-ssh-ed25519@.service
systemd: systemd:
units: units:
- name: git.service - name: git.service

View File

@ -1,16 +1,9 @@
variant: fcos variant: fcos
version: 1.3.0 version: 1.3.0
storage: storage:
files: trees:
- path: /etc/systemd/system/letsencrypt-dns-register@.service - path: /etc/systemd/system
contents: local: service/letsencrypt/systemd/
local: service/letsencrypt/letsencrypt-dns-register@.service
- path: /etc/systemd/system/letsencrypt-dns-renew@.service
contents:
local: service/letsencrypt/letsencrypt-dns-renew@.service
- path: /etc/systemd/system/letsencrypt-dns-renew@.timer
contents:
local: service/letsencrypt/letsencrypt-dns-renew@.timer
systemd: systemd:
units: units:
- name: letsencrypt-dns-register@.service - name: letsencrypt-dns-register@.service

View File

@ -1,13 +1,9 @@
variant: fcos variant: fcos
version: 1.3.0 version: 1.3.0
storage: storage:
files: trees:
- path: /etc/systemd/system/mariadb.service - path: /etc/systemd/system
contents: local: service/mariadb/systemd/
local: service/mariadb/mariadb.service
- path: /etc/systemd/system/mariadb-migrate@.service
contents:
local: service/mariadb/mariadb-migrate@.service
systemd: systemd:
units: units:
- name: mariadb.service - name: mariadb.service

View File

@ -1,19 +1,9 @@
variant: fcos variant: fcos
version: 1.3.0 version: 1.3.0
storage: storage:
files: trees:
- path: /etc/systemd/system/nginx-ingress.service - path: /etc/systemd/system
contents: local: service/nginx/systemd/
local: service/nginx/nginx-ingress.service
- path: /etc/systemd/system/nginx-ingress-http@.service
contents:
local: service/nginx/nginx-ingress-http@.service
- path: /etc/systemd/system/nginx-static@.service
contents:
local: service/nginx/nginx-static@.service
- path: /etc/systemd/system/nginx-php@.service
contents:
local: service/nginx/nginx-php@.service
systemd: systemd:
units: units:
- name: nginx-ingress.service - name: nginx-ingress.service

View File

@ -1,10 +1,9 @@
variant: fcos variant: fcos
version: 1.3.0 version: 1.3.0
storage: storage:
files: trees:
- path: /etc/systemd/system/postfix.service - path: /etc/systemd/system
contents: local: service/postfix/systemd/
local: service/postfix/postfix.service
systemd: systemd:
units: units:
- name: postfix.service - name: postfix.service

View File

@ -1,13 +1,9 @@
variant: fcos variant: fcos
version: 1.3.0 version: 1.3.0
storage: storage:
files: trees:
- path: /etc/systemd/system/prosody-firstboot.target - path: /etc/systemd/system
contents: local: service/prosody/systemd/
local: service/prosody/prosody-firstboot.target
- path: /etc/systemd/system/prosody.service
contents:
local: service/prosody/prosody.service
systemd: systemd:
units: units:
- name: prosody-firstboot.target - name: prosody-firstboot.target

View File

@ -1,10 +1,9 @@
variant: fcos variant: fcos
version: 1.3.0 version: 1.3.0
storage: storage:
files: trees:
- path: /etc/systemd/system/radicale.service - path: /etc/systemd/system
contents: local: service/radicale/systemd/
local: service/radicale/radicale.service
systemd: systemd:
units: units:
- name: radicale.service - name: radicale.service

View File

@ -1,10 +1,9 @@
variant: fcos variant: fcos
version: 1.3.0 version: 1.3.0
storage: storage:
files: trees:
- path: /etc/systemd/system/redis.service - path: /etc/systemd/system
contents: local: service/redis/systemd/
local: service/redis/redis.service
systemd: systemd:
units: units:
- name: redis.service - name: redis.service

View File

@ -1,13 +1,9 @@
variant: fcos variant: fcos
version: 1.3.0 version: 1.3.0
storage: storage:
files: trees:
- path: /etc/systemd/system/rspamd.service - path: /etc/systemd/system
contents: local: service/rspamd/systemd/
local: service/rspamd/rspamd.service
- path: /etc/systemd/system/rspamd-dkim-generate@.service
contents:
local: service/rspamd/rspamd-dkim-generate@.service
systemd: systemd:
units: units:
- name: rspamd.service - name: rspamd.service