Initial commit
This commit is contained in:
11
overlay/usr/lib/systemd/system/init-storage.service
Normal file
11
overlay/usr/lib/systemd/system/init-storage.service
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Initialize persistent data storage
|
||||
DefaultDependencies=no
|
||||
Before=local-fs-pre.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/libexec/init-storage
|
||||
StandardInput=null
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
9
overlay/usr/lib/systemd/system/ssh-keygen.service
Normal file
9
overlay/usr/lib/systemd/system/ssh-keygen.service
Normal file
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Generate SSH host keys
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/ssh-keygen -A
|
||||
|
||||
[Install]
|
||||
WantedBy=sshd@.service
|
||||
@@ -0,0 +1,2 @@
|
||||
[Unit]
|
||||
After=ssh-keygen.service
|
||||
@@ -0,0 +1 @@
|
||||
../init-storage.service
|
||||
Reference in New Issue
Block a user