mirror of
https://github.com/dguglielmi/sunny-overlay.git
synced 2025-12-07 05:02:39 +01:00
sys-kernel/dracut-openssh: add ebuild
This commit is contained in:
19
sys-kernel/dracut-openssh/files/sshd.service
Normal file
19
sys-kernel/dracut-openssh/files/sshd.service
Normal file
@@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=OpenSSH server daemon
|
||||
DefaultDependencies=no
|
||||
Before=cryptsetup.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
||||
EnvironmentFile=-/etc/sysconfig/sshd
|
||||
|
||||
ExecStart=/usr/sbin/sshd -D $SSHD_OPTS
|
||||
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
KillMode=process
|
||||
Restart=on-failure
|
||||
RestartSec=42s
|
||||
|
||||
[Install]
|
||||
WantedBy=sysinit.target
|
||||
Reference in New Issue
Block a user