initial commit of file from CVS for e-smith-base on Thu 26 Oct 11:24:52 BST 2023

This commit is contained in:
2023-10-26 11:24:52 +01:00
parent bbc22988a8
commit 9510d1a360
678 changed files with 22721 additions and 2 deletions

View File

@@ -0,0 +1,3 @@
[Install]
WantedBy=sme-server.target

View File

@@ -0,0 +1,28 @@
[Unit]
Description=SME server bootstrap-console
DefaultDependencies=no
Conflicts=shutdown.target
After=livesys.service plymouth-quit-wait.service
After=systemd-vconsole-setup.service
Before=getty@tty1.service
Before=shutdown.target
Before=network.target network-online.target network-pre.target
Before=masq.service
[Service]
Environment=HOME=/root
WorkingDirectory=/root
ExecStartPre=-/bin/plymouth quit
ExecStart=/sbin/e-smith/bootstrap-console
Type=oneshot
Restart=no
TimeoutSec=0
StandardInput=tty
StandardOutput=tty
StandardError=tty
KillMode=process
IgnoreSIGPIPE=no
SendSIGHUP=yes
[Install]
WantedBy=basic.target

View File

@@ -0,0 +1,13 @@
[Unit]
Description=SME server bootup fix
DefaultDependencies=no
[Service]
Environment=HOME=/root
WorkingDirectory=/root
ExecStart=/etc/e-smith/events/actions/systemd-default
Type=oneshot
[Install]
WantedBy=basic.target reboot.target shutdown.target halt.target

View File

@@ -0,0 +1,28 @@
[Unit]
Description=SME server bootstrap-runlevel7 to start old SME rc7.d services
DefaultDependencies=no
Conflicts=shutdown.target
After=livesys.service plymouth-quit-wait.service
After=systemd-vconsole-setup.service
After=basic.target bootstrap-console.service
Before=getty@tty1.service
Before=shutdown.target
ConditionPathExistsGlob=/etc/rc.d/rc7.d/S**
[Service]
Environment=HOME=/root
WorkingDirectory=/root
ExecStartPre=-/bin/plymouth quit
ExecStart=/sbin/e-smith/bootstrap-runlevel7
Type=oneshot
Restart=no
TimeoutSec=0
StandardInput=tty
StandardOutput=tty
StandardError=tty
KillMode=process
IgnoreSIGPIPE=no
SendSIGHUP=yes
[Install]
WantedBy=sme-server.target

View File

@@ -0,0 +1,3 @@
[Install]
WantedBy=sme-server.target

View File

View File

@@ -0,0 +1,3 @@
[Install]
WantedBy=sme-server.target

View File

@@ -0,0 +1,13 @@
[Unit]
Description=Local service for Koozali SME Server
After=network-pre.target networking.service
[Service]
Type=oneshot
ExecStartPre=/sbin/e-smith/service-status local
ExecStartPre=/usr/bin/chmod +x /etc/rc.d/rc.local
ExecStart=/sbin/e-smith/signal-event local
RemainAfterExit=yes
[Install]
WantedBy=sme-server.target

View File

@@ -0,0 +1,11 @@
[Service]
#this one to erase previous
ExecStart=
#Koozali
ExecStartPre=/sbin/e-smith/service-status raidmonitor
ExecStartPre=/sbin/e-smith/systemd/mdmonitor-pre
ExecStart=/sbin/mdadm --monitor --scan --program /sbin/e-smith/mdevent -f --pid-file=/var/run/mdadm/mdadm.pid
[Install]
Alias=raidmonitor.service
WantedBy=sme-server.target

View File

@@ -0,0 +1,17 @@
[Unit]
Description= Network management for Koozali SME Server, using old sysvinit script
After=network-pre.target
Wants=network.target
Before=network-online.target wan.service
Conflicts=NetworkManager.service
[Service]
Type=oneshot
ExecStart=/etc/rc.d/init.d/network start
ExecStop=/etc/rc.d/init.d/network stop
ExecReload=/etc/rc.d/init.d/network restart
RemainAfterExit=yes
[Install]
WantedBy=sme-server.target
Alias=network.service

View File

@@ -0,0 +1,8 @@
[Service]
ExecStartPre=-/sbin/e-smith/expand-template /etc/rsyslog.conf
ExecStartPre=-/sbin/e-smith/systemd/rsyslog-pre
ExecStartPost=-/sbin/e-smith/systemd/rsyslog-pre
[Install]
WantedBy=sme-server.target

View File

@@ -0,0 +1,3 @@
[Install]
WantedBy=sme-server.target

View File

@@ -0,0 +1,13 @@
# This file is part of Koozali SME Server.
#
[Unit]
Description=Koozali SME Server System
Documentation=man:systemd.special(7)
Requires=basic.target
Conflicts=rescue.service rescue.target multi-user.target
After=basic.target rescue.service rescue.target runit.service
AllowIsolate=yes
Wants=atd.service auditd.service avahi-daemon.service brandbot.path nfs-client.target remote-fs.target rhel-configure.service
Wants=dbus.service plymouth-quit-wait.service plymouth-quit.service systemd-logind.service systemd-update-utmp-runlevel.service systemd-user-sessions.service

View File

@@ -0,0 +1,16 @@
[Unit]
Description=WAN interface for Koozali SME Server
After=network-pre.target networking.service
Before=network-online.target
PartOf=networking.service
[Service]
Type=oneshot
ExecStartPre=/sbin/e-smith/service-status wan
ExecStart=/usr/bin/sv u /service/wan
ExecStop=/usr/bin/sv stop /service/wan
ExecReload=/usr/bin/sv t /service/wan
RemainAfterExit=yes
[Install]
WantedBy=sme-server.target