This commit is contained in:
philm 2011-06-17 12:40:45 +00:00
parent 6cb68b6d83
commit eece303975
94 changed files with 0 additions and 1109 deletions

View File

@ -1,13 +0,0 @@
SERVICES = ${wildcard *.service}
TARGETS = ${wildcard *.target}
SCRIPTS = chakra-persistent-settings
GENERATORS = chakra-daemons
makedirs:
@install -vd ${DESTDIR}/lib/systemd/system-generators \
${DESTDIR}/lib/systemd/system
install: makedirs
@install -vm755 -t ${DESTDIR}/lib/systemd/ ${SCRIPTS}
@install -vm755 -t ${DESTDIR}/lib/systemd/system-generators/ ${GENERATORS}
@install -vm644 -t ${DESTDIR}/lib/systemd/system ${SERVICES} ${TARGETS}

View File

@ -1,12 +0,0 @@
Unit files needed to make systemd a drop-in replacement for the traditional Chakra GNU/Linux initscripts. The obvious goal here is to one day become obsolete.
rc.sysinit
----------
Sequentially:
1) FakeRAID (dmraid)
2) LVM
TODO: Both dmraid and lvm need testers. The tools do not support hotplugging, so we might need to add some more synchronisation points to avoid races.
rc.shutdown
-----------
chakra-persistent-settings: parses and saves chakra specific settings (i.e. rc.conf) in their respective distro independent places (rather than doing it on boot)

View File

@ -1,43 +0,0 @@
#!/bin/bash
#
# /lib/systemd/system-generators/chakra-daemons
#
. /etc/rc.conf
[[ $1 ]] || exit 1
# when called at boot, this is /dev/.systemd/generator-$rand
dest=$1
# Make service file
create_unit() {
local daemon=${1%.service}
printf "
[Unit]
Description=Legacy unit for $1
After=$2
[Service]
ExecStart=/etc/rc.d/$daemon start
ExecStop=/etc/rc.d/$daemon stop
RemainAfterExit=yes
Type=forking
" > $dest/chakra-daemons.target.wants/$1
}
[[ -d $dest/chakra-daemons.target.wants ]] || /bin/mkdir -p $dest/chakra-daemons.target.wants
for daemon in "${DAEMONS[@]}"; do
service="$daemon.service"
case ${daemon:0:1} in
'!') continue ;;
'@') create_unit ${service:1} $dep ;;
*) create_unit $service $dep
dep=$service ;;
esac
done
# vim: et sw=2:

View File

@ -1,5 +0,0 @@
[Unit]
Description=Legacy Chakra Daemons
[Install]
WantedBy=multi-user.target

View File

@ -1,24 +0,0 @@
#!/bin/bash
#
# /lib/systemd/chakra-persistent-settings
#
. /etc/rc.conf
# update timezone if: The timezone is set in rc.conf and the corresponding
# zoneinfo file exists
if [[ -n $TIMEZONE && -f /usr/share/zoneinfo/$TIMEZONE ]]; then
# Note: it is probably better to delete the TIMEZONE var from your rc.conf to
# avoid this interfering with other tools (such as the GUI tools in KDE/GNOME/...)
# setting the timezone.
/bin/cp --remove-destination "/usr/share/zoneinfo/$TIMEZONE" /etc/localtime
fi
# create new module list if /etc/rc.conf has been updated since last generated
# /etc/modules-load.d/rc.conf
if [[ /etc/rc.conf -nt /etc/modules-load.d/rc.conf ]]; then
echo "# Autogenerated by chakra-persistent-settings, do not edit" > /etc/modules-load.d/rc.conf
printf '%s\n' "${modules[@]}" >> /etc/modules-load.d/rc.conf
fi
# vim: set noet ts=2 sw=2:

View File

@ -1,11 +0,0 @@
[Unit]
Description=Save Chakra specific settings
DefaultDependencies=no
Before=shutdown.target
[Service]
ExecStart=/lib/systemd/chakra-persistent-settings
Type=oneshot
[Install]
WantedBy=shutdown.target

View File

@ -1,16 +0,0 @@
[Unit]
Description=Assemble FakeRAID arrays
DefaultDependencies=no
Requires=udev-settle.service
After=udev-settle.service
Before=basic.target shutdown.target
Conflicts=shutdown.target
[Service]
ExecStart=/sbin/dmraid --ignorelocking --activate y
Type=oneshot
TimeoutSec=0
RemainAfterExit=true
[Install]
WantedBy=basic.target

View File

@ -1,16 +0,0 @@
[Unit]
Description=LVM activation
DefaultDependencies=no
Requires=udev-settle.service
After=udev-settle.service
Before=basic.target shutdown.target
Conflicts=shutdown.target
[Service]
ExecStart=/sbin/vgchange --sysinit --available y
Type=oneshot
TimeoutSec=0
RemainAfterExit=yes
[Install]
WantedBy=basic.target

View File

@ -1,12 +0,0 @@
[Unit]
Description=/etc/rc.local Compatibility
[Service]
ExecStart=-/etc/rc.local
ExecStop=-/etc/rc.local.shutdown
TimeoutSec=0
StandardInput=tty
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target

View File

@ -1,17 +0,0 @@
SERVICE_FILES = ${wildcard service/*}
SOCKET_FILES = ${wildcard socket/*}
TARGET_FILES = ${wildcard target/*}
PATH_FILES = ${wildcard path/*}
SCRIPTS = ${wildcard scripts/*}
TMP_FILES = ${wildcard tmpfiles/*}
SD_TMPDIR ?= etc/tmpfiles.d
SD_LIBDIR ?= lib/systemd
SD_UNITDIR ?= ${SD_LIBDIR}/system
SD_SCRIPTDIR ?= ${SD_LIBDIR}/scripts
install:
install -d "${DESTDIR}/${SD_SCRIPTDIR}" "${DESTDIR}/${SD_UNITDIR}" "${DESTDIR}/${SD_TMPDIR}"
install -m644 -t "${DESTDIR}/${SD_UNITDIR}" ${SERVICE_FILES} ${SOCKET_FILES} ${TARGET_FILES} ${PATH_FILES}
install -m755 -t "${DESTDIR}/${SD_SCRIPTDIR}" ${SCRIPTS}
install -m644 -t "${DESTDIR}/${SD_TMPDIR}" ${TMP_FILES}

View File

@ -1,41 +0,0 @@
Chakra GNU/Linux-specific native unit files for systemd. The [community] repo
contains a package of these units designed to work with the latest tag of
systemd. Units can be activated by using the systemctl utility, e.g.
systemctl enable rpcbind.service alsa.service ...
Which will create symlinks in /etc/system/system pointing to the unit files
residing in /lib/systemd/system.
As an example, here's a (my) simple setup:
/etc/systemd/system
├── default.target.wants
│   └── microcode.service -> /lib/systemd/system/microcode.service
├── getty.target.wants
│   ├── getty@tty1.service -> /lib/systemd/system/getty@.service
│   ├── getty@tty2.service -> /lib/systemd/system/getty@.service
│   ├── getty@tty3.service -> /lib/systemd/system/getty@.service
│   ├── getty@tty4.service -> /lib/systemd/system/getty@.service
│   ├── getty@tty5.service -> /lib/systemd/system/getty@.service
│   └── getty@tty6.service -> /lib/systemd/system/getty@.service
├── local-fs.target.wants
├── multi-user.target.wants
│   ├── fcron.service -> /lib/systemd/system/fcron.service
│   ├── mpd.service -> /lib/systemd/system/mpd.service
│   ├── netcon.service -> ../netcon.service
│   ├── oss.service -> /lib/systemd/system/oss.service
│   ├── rc-local.service -> /lib/systemd/system/rc-local.service
│   ├── remote-fs.target -> /lib/systemd/system/remote-fs.target
│   ├── rsyslog.service -> /lib/systemd/system/rsyslog.service
│   └── sshdgenkeys.service -> /lib/systemd/system/sshdgenkeys.service
├── netcon.service
├── shutdown.target.wants
│   └── arch-persistent-settings.service -> /lib/systemd/system/chakra-persistent-settings.service
├── sockets.target.wants
│   └── sshd.socket -> ../sshd.socket
├── sshd.socket
└── sysinit.target.wants
└── hwclock-load.service -> /lib/systemd/system/hwclock-load.service
7 directories, 20 files

View File

@ -1,11 +0,0 @@
#!/bin/bash
for table in filter nat mangle raw; do
iptables -t "$table" -F
iptables -t "$table" -X
done
for chain in INPUT FORWARD OUTPUT; do
iptables -P "$chain" ACCEPT
done

View File

@ -1,10 +0,0 @@
#!/bin/sh
for ktype in rsa dsa ecdsa; do
if ! [ -f /etc/ssh/ssh_host_${ktype}_key ]; then
/usr/bin/ssh-keygen -t $ktype -N "" -f /etc/ssh/ssh_host_${ktype}_key >/dev/null || exit 1
fi
done
# `test' returns non-zero when it fails. Don't let this hold up ExecStart.
exit 0

View File

@ -1,12 +0,0 @@
[Unit]
Description=Network Manager Wait Online
Requires=NetworkManager.service
Wants=network.target
Before=network.target
[Service]
Type=oneshot
ExecStart=/usr/bin/nm-online -q --timeout=30
[Install]
WantedBy=multi-user.target

View File

@ -1,14 +0,0 @@
[Unit]
Description=Network Manager
After=syslog.target
Wants=network.target
Before=network.target
[Service]
Type=dbus
BusName=org.freedesktop.NetworkManager
ExecStart=/usr/sbin/NetworkManager --no-daemon
[Install]
WantedBy=multi-user.target
Alias=dbus-org.freedesktop.NetworkManager.service

View File

@ -1,10 +0,0 @@
[Unit]
Description=ACPI event daemon
After=syslog.target
[Service]
EnvironmentFile=/etc/conf.d/acpid
ExecStart=/usr/sbin/acpid -f ${ACPID_ARGS}
[Install]
WantedBy=multi-user.target

View File

@ -1,12 +0,0 @@
[Unit]
Description=Advanced Linux Sound Architecture
Before=sound.target
After=syslog.target
[Service]
RemainAfterExit=yes
ExecStart=/etc/rc.d/alsa start
ExecStop=/etc/rc.d/alsa stop
[Install]
WantedBy=multi-user.target

View File

@ -1,12 +0,0 @@
[Unit]
Description=Bluetooth Manager
After=syslog.target
[Service]
Type=dbus
BusName=org.bluez
ExecStart=/usr/sbin/bluetoothd -n
StandardOutput=syslog
[Install]
WantedBy=bluetooth.target

View File

@ -1,11 +0,0 @@
[Unit]
Description=Periodic Command Scheduler
After=syslog.target
[Service]
ExecStart=/usr/sbin/crond -n
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
[Install]
WantedBy=multi-user.target

View File

@ -1,16 +0,0 @@
[Unit]
Description=CUPS Printing Service
After=syslog.target
[Service]
ExecStart=/usr/sbin/cupsd -f
StandardOutput=syslog
# This is evil stuff. CUPS should use proper enumeration instead of
# retriggering these devices. CUPS folks, please fix this, otherwise Kay will
# come after you!
ExecStartPost=/sbin/udevadm trigger --subsystem-match=usb --attr-match=bInterfaceClass=07 --attr-match=bInterfaceSubClass=01
ExecStartPost=/sbin/udevadm trigger --subsystem-match=usb --property-match=DEVNAME=/dev/usb/lp*
[Install]
WantedBy=multi-user.target

View File

@ -1,12 +0,0 @@
[Unit]
Description=Periodic Command Scheduler
After=syslog.target
[Service]
Type=forking
EnvironmentFile=/etc/conf.d/crond
ExecStart=/usr/sbin/crond $CROND_ARGS
StandardOutput=syslog
[Install]
WantedBy=multi-user.target

View File

@ -1,12 +0,0 @@
[Unit]
Description=DHCP server
[Service]
ExecStart=/usr/sbin/dhcpd -%i -f -q
ExecReload=/bin/kill -TERM $MAINPID
KillSignal=SIGINT
StandardOutput=syslog
# Enable this service as:
# dhcpd@4.service for an ipv4 daemon
# dhcpd@6.service for an ipv6 daemon

View File

@ -1,13 +0,0 @@
[Unit]
Description=A lightweight DHCP and caching DNS server
After=syslog.target
[Service]
Type=forking
PIDFile=/run/dnsmasq.pid
ExecStartPre=/usr/sbin/dnsmasq --test
ExecStart=/usr/sbin/dnsmasq --pid-file=/run/dnsmasq.pid
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target

View File

@ -1,11 +0,0 @@
[Unit]
Description=NIS Domainname
[Service]
Type=oneshot
EnvironmentFile=/etc/conf.d/nisdomainname
ExecStart=/bin/nisdomainname $NISDOMAINNAME
RemainAfterExit=true
[Install]
WantedBy=multi-user.target

View File

@ -1,12 +0,0 @@
[Unit]
Description=Exim Mail Daemon
After=syslog.target
[Service]
StandardOutput=syslog
PIDFile=/var/run/exim.pid
ExecStart=/usr/sbin/exim -bdf -q30m
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target

View File

@ -1,10 +0,0 @@
[Unit]
Description=Fan control daemon
After=syslog.target
[Service]
PIDFile=/var/run/fancontrol.pid
ExecStart=/usr/sbin/fancontrol
[Install]
WantedBy=multi-user.target

View File

@ -1,11 +0,0 @@
[Unit]
Description=Cron Daemon
After=syslog.target
[Service]
ExecStart=/usr/sbin/fcron -f
ExecReload=/bin/kill -USR1 $MAINPID
Restart=always
[Install]
WantedBy=multi-user.target

View File

@ -1,11 +0,0 @@
[Unit]
Description=Gnome Display Manager
Requires=dev-tty7.device
After=dev-tty7.device systemd-user-sessions.service
[Service]
ExecStart=/usr/sbin/gdm -nodaemon
StandardOutput=syslog
[Install]
WantedBy=graphical.target

View File

@ -1,11 +0,0 @@
[Unit]
Description=Hardware Manager
After=syslog.target
[Service]
Type=dbus
BusName=org.freedesktop.Hal
ExecStart=/usr/sbin/hald --daemon=no --use-syslog
[Install]
WantedBy=graphical.target

View File

@ -1,11 +0,0 @@
[Unit]
Description=Packet Filtering Framework
[Service]
Type=oneshot
ExecStart=/usr/sbin/iptables-restore /etc/iptables/rules
ExecStop=/lib/systemd/scripts/iptables-flush
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target

View File

@ -1,13 +0,0 @@
[Unit]
Description=IRQ Balancing Daemon
After=syslog.target
[Service]
Type=forking
EnvironmentFile=/etc/conf.d/irqbalance
ExecStart=/usr/sbin/irqbalance
StandardOutput=syslog
[Install]
WantedBy=multi-user.target

View File

@ -1,11 +0,0 @@
[Unit]
Description=K Display Manager
Requires=dev-tty7.device
After=dev-tty7.device systemd-user-sessions.service
[Service]
ExecStart=/usr/bin/kdm -nodaemon tty7
StandardOutput=syslog
[Install]
WantedBy=graphical.target

View File

@ -1,9 +0,0 @@
[Unit]
Description=Kerberos 5 administration server
After=syslog.target
[Service]
ExecStart=/usr/sbin/kadmind -nofork
[Install]
WantedBy=multi-user.target

View File

@ -1,10 +0,0 @@
[Unit]
Description=Kerberos 5 KDC
After=syslog.target
[Service]
ExecStart=/usr/sbin/krb5kdc -n
Restart=always
[Install]
WantedBy=multi-user.target

View File

@ -1,9 +0,0 @@
[Unit]
Description=Kerberos 5 propagation server
After=syslog.target
[Service]
ExecStart=/usr/sbin/kpropd -S
[Install]
WantedBy=multi-user.target

View File

@ -1,7 +0,0 @@
[Unit]
Description=Kerberos 5 propagation server
Conflicts=krb5-kpropd.service
[Service]
ExecStart=/usr/sbin/kpropd
StandardInput=socket

View File

@ -1,11 +0,0 @@
[Unit]
Description=Libvirtd management daemon
After=syslog.target
[Service]
EnvironmentFile=/etc/conf.d/libvirtd
ExecStart=/usr/sbin/libvirtd -f $LIBVIRTD_CONFIG
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target

View File

@ -1,12 +0,0 @@
[Unit]
Description=LXDE Display Manager
Requires=dev-tty7.device
After=dev-tty7.device systemd-user-sessions.service
[Service]
ExecStart=/usr/sbin/lxdm
StandardOutput=syslog
[Install]
WantedBy=graphical.target

View File

@ -1,9 +0,0 @@
[Unit]
Description=MDADM Event Monitor
After=syslog.target
[Service]
ExecStart=/sbin/mdadm --monitor --scan
[Install]
WantedBy=multi-user.target

View File

@ -1,18 +0,0 @@
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
[Unit]
Description=Apply CPU microcode
[Service]
ExecStart=/usr/sbin/microcode_ctl -qu
Type=oneshot
RemainAfterExit=yes
[Install]
WantedBy=default.target

View File

@ -1,6 +0,0 @@
[Unit]
Description=Teredo IPv6 Tunneling Daemon
[Service]
ExecStart=/usr/sbin/miredo -f

View File

@ -1,11 +0,0 @@
[Unit]
Description=Modem Manager
After=syslog.target
[Service]
Type=dbus
BusName=org.freedesktop.ModemManager
ExecStart=/usr/sbin/modem-manager
[Install]
WantedBy=multi-user.target

View File

@ -1,11 +0,0 @@
[Unit]
Description=Music Player Daemon
After=sound.target
Requires=sound.target
After=syslog.target
[Service]
ExecStart=/usr/bin/mpd --no-daemon /etc/mpd.conf
[Install]
WantedBy=multi-user.target

View File

@ -1,11 +0,0 @@
[Unit]
Description=Internet domain name server
After=syslog.target
[Service]
ExecStart=/usr/sbin/named -f -u named
ExecReload=/usr/sbin/rndc reload
ExecStop=/usr/sbin/rndc stop
[Install]
WantedBy=multi-user.target

View File

@ -1,12 +0,0 @@
[Unit]
Description=Network Connectivity
Before=network.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/etc/rc.d/network start
ExecStop=/etc/rc.d/network stop
[Install]
WantedBy=multi-user.target

View File

@ -1,13 +0,0 @@
[Unit]
Description=NFS Client Daemon
After=rpcbind.service
Requires=rpcbind.service
[Service]
Type=forking
ExecStart=/etc/rc.d/nfs-common start
ExecStop=/etc/rc.d/nfs-common stop
[Install]
WantedBy=multi-user.target
Also=network.service rpcbind.service

View File

@ -1,13 +0,0 @@
[Unit]
Description=NFS Server Daemon
After=rpcbind.service nfs-common.service
Requires=rpcbind.service nfs-common.service
[Service]
Type=forking
ExecStart=/etc/rc.d/nfs-server start
ExecStop=/etc/rc.d/nfs-server stop
[Install]
WantedBy=multi-user.target
Also=network.service rpcbind.service nfs-common.service

View File

@ -1,13 +0,0 @@
[Unit]
Description=A high performance web server and a reverse proxy server
[Service]
Type=forking
PIDFile=/run/nginx.pid
ExecStartPre=/usr/sbin/nginx -t -q -g 'pid /run/nginx.pid; daemon on; master_process on;'
ExecStart=/usr/sbin/nginx -g 'pid /run/nginx.pid; daemon on; master_process on;'
ExecReload=/usr/sbin/nginx -g 'pid /run/nginx.pid; daemon on; master_process on;' -s reload
ExecStop=/usr/sbin/nginx -g 'pid /run/nginx.pid;' -s quit
[Install]
WantedBy=multi-user.target

View File

@ -1,9 +0,0 @@
[Unit]
Description=Samba NetBIOS name server
After=syslog.target
[Service]
ExecStart=/usr/sbin/nmbd -F
[Install]
WantedBy=multi-user.target

View File

@ -1,12 +0,0 @@
[Unit]
Description=Name Service Cache Daemon
After=syslog.target
[Service]
ExecStart=/usr/sbin/nscd -d
ExecStop=/usr/sbin/nscd --shutdown
Restart=always
[Install]
WantedBy=multi-user.target
Also=nscd.socket

View File

@ -1,10 +0,0 @@
[Unit]
Description=Network Time Service
After=syslog.target
[Service]
EnvironmentFile=/etc/conf.d/ntp-client.conf
ExecStart=/usr/bin/ntpd -n $NTPD_ARGS
[Install]
WantedBy=multi-user.target

View File

@ -1,8 +0,0 @@
[Unit]
Description=Ident (RFC 1413) per-connection server
After=syslog.target
[Service]
ExecStart=/usr/sbin/oidentd -I -u nobody -g nobody
ExecReload=/bin/kill -HUP $MAINPID
StandardInput=socket

View File

@ -1,11 +0,0 @@
[Unit]
Description=OpenNTP Daemon
After=network.target
[Service]
EnvironmentFile=/etc/conf.d/openntpd
ExecStart=/usr/sbin/ntpd -d $PARAMS
StandardOutput=syslog
[Install]
WantedBy=multi-user.target

View File

@ -1,13 +0,0 @@
[Unit]
Description=Open Sound System v4
Before=sound.target
After=syslog.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/sbin/soundon
ExecStop=/usr/sbin/soundoff
[Install]
WantedBy=multi-user.target

View File

@ -1,10 +0,0 @@
[Unit]
Description=proxy name server
After=syslog.target
[Service]
ExecStart=/usr/sbin/pdnsd
StandardOutput=syslog
[Install]
WantedBy=multi-user.target

View File

@ -1,10 +0,0 @@
[Unit]
Description=Polipo Proxy Server
After=syslog.target
[Service]
ExecStart=/usr/bin/polipo
ExecReload=/bin/kill -USR1 $MAINPID
[Install]
WantedBy=multi-user.target

View File

@ -1,16 +0,0 @@
[Unit]
Description=Policy Manager
After=syslog.target
[Service]
Type=dbus
BusName=org.freedesktop.PolicyKit1
ExecStart=/usr/lib/polkit-1/polkitd
StandardOutput=syslog
[Install]
# We pull this in by graphical.target instead of waiting for the bus
# activation, to speed things up a little: gdm uses this anyway so it is nice
# if it is already around when gdm wants to use it and doesn't have to wait for
# it.
WantedBy=graphical.target

View File

@ -1,10 +0,0 @@
[Unit]
Description=MacBook Hotkey Event Handler
After=syslog.target
[Service]
ExecStart=/usr/sbin/pommed -f
StandardOutput=syslog
[Install]
WantedBy=multi-user.target

View File

@ -1,10 +0,0 @@
[Unit]
Description=RPC Bind
[Service]
Type=forking
GuessMainPID=yes
ExecStart=/usr/bin/rpcbind
[Install]
WantedBy=multi-user.target

View File

@ -1,30 +0,0 @@
# This file is part of RealtimeKit.
#
# Copyright 2010 Lennart Poettering
#
# RealtimeKit is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# RealtimeKit is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with RealtimeKit. If not, see <http://www.gnu.org/licenses/>.
[Unit]
Description=RealtimeKit Scheduling Policy Service
After=syslog.target
[Service]
ExecStart=/usr/lib/rtkit-daemon
Type=dbus
BusName=org.freedesktop.RealtimeKit1
NotifyAccess=main
ControlGroup=cpu:/
[Install]
WantedBy=graphical.target

View File

@ -1,7 +0,0 @@
[Unit]
Description=Scanner Service
[Service]
Group=scanner
ExecStart=/usr/sbin/saned
StandardInput=socket

View File

@ -1,11 +0,0 @@
[Unit]
Description=SLiM Simple Login Manager
Requires=dev-tty7.device
After=dev-tty7.device systemd-user-sessions.service
[Service]
ExecStart=/usr/bin/slim -nodaemon
StandardOutput=syslog
[Install]
WantedBy=graphical.target

View File

@ -1,13 +0,0 @@
[Unit]
Description=Smart Monitoring Daemon
After=syslog.target
[Service]
Type=forking
EnvironmentFile=/etc/conf.d/smartd
ExecStart=/usr/sbin/smartd $SMARTD_ARGS
StandardOutput=syslog
[Install]
WantedBy=multi-user.target

View File

@ -1,10 +0,0 @@
[Unit]
Description=Samba SMB/CIFS server
After=syslog.target
[Service]
ExecStart=/usr/sbin/smbd -F
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target

View File

@ -1,14 +0,0 @@
[Unit]
Description=Web Proxy Cache Server
After=syslog.target
[Service]
EnvironmentFile=/etc/conf.d/squid
ExecStartPre=/usr/sbin/squid -z
ExecStart=/usr/sbin/squid -N $SQUID_ARGS
ExecStop=/usr/sbin/squid -k shutdown
ExecReload=/usr/sbin/squid -k reconfigure
[Install]
WantedBy=multi-user.target

View File

@ -1,20 +0,0 @@
[Unit]
Description=OpenSSH Daemon
After=syslog.target sshdgenkeys.service
Requires=sshdgenkeys.service
[Service]
ExecStart=/usr/sbin/sshd -D
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=always
StandardOutput=syslog
[Install]
WantedBy=multi-user.target
# Note that this is the service file for running a single SSH server for all
# incoming connections, suitable only for systems with a large amount of SSH
# traffic. In almost all other cases it is a better idea to use sshd.socket +
# sshd@.service (i.e. the on-demand spawning version for one instance per
# connection).

View File

@ -1,10 +0,0 @@
[Unit]
Description=SSH Per-Connection Server
Requires=sshdgenkeys.service
After=syslog.target sshdgenkeys.service
[Service]
# SSHD_ARGS from /etc/conf.d/sshd is ignored
ExecStart=-/usr/sbin/sshd -i
ExecReload=/bin/kill -HUP $MAINPID
StandardInput=socket

View File

@ -1,12 +0,0 @@
[Unit]
Description=SSH Key Generation
ConditionPathExists=|!/etc/ssh/ssh_host_rsa_key
ConditionPathExists=|!/etc/ssh/ssh_host_dsa_key
ConditionPathExists=|!/etc/ssh/ssh_host_ecdsa_key
[Service]
ExecStart=/lib/systemd/scripts/sshdgenkeys
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target

View File

@ -1,11 +0,0 @@
[Unit]
Description=System Logger Daemon
[Service]
Sockets=syslog.socket
ExecStartPre=/bin/systemctl stop systemd-kmsg-syslogd.service
ExecStart=/usr/sbin/syslog-ng -F
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=syslog.target

View File

@ -1,14 +0,0 @@
[Unit]
Description=Anonymizing Overlay Network
After=syslog.target
[Service]
Type=forking
GuessMainPID=yes
EnvironmentFile=/etc/conf.d/tor
ExecStart=/usr/bin/tor -f $TOR_CONF $TOR_ARGS
ExecReload=/bin/kill -HUP $MAINPID
KillSignal=SIGINT
[Install]
WantedBy=multi-user.target

View File

@ -1,11 +0,0 @@
[Unit]
Description=UDisks
After=syslog.target
[Service]
Type=dbus
BusName=org.freedesktop.UDisks
ExecStart=/usr/lib/udisks/udisks-daemon
[Install]
WantedBy=graphical.target

View File

@ -1,11 +0,0 @@
[Unit]
Description=UPower
After=syslog.target
[Service]
Type=dbus
BusName=org.freedesktop.UPower
ExecStart=/usr/lib/upower/upowerd
[Install]
WantedBy=graphical.target

View File

@ -1,12 +0,0 @@
[Unit]
Description=System uptime record daemon
After=syslog.target
[Service]
Type=forking
PIDFile=/var/run/uptimed
ExecStartPre=/usr/sbin/uptimed -b
ExecStart=/usr/sbin/uptimed
[Install]
WantedBy=multi-user.target

View File

@ -1,11 +0,0 @@
[Unit]
Description=Network traffic monitor
After=syslog.target
[Service]
PIDFile=/var/run/vnstat.pid
ExecStart=/usr/sbin/vnstatd -d
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target

View File

@ -1,11 +0,0 @@
[Unit]
Description=vsftpd daemon (legacy implicit SSL)
After=syslog.target
[Service]
ExecStart=/usr/sbin/vsftpd -olisten_ipv6=yes -oimplicit_ssl=yes
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
[Install]
WantedBy=multi-user.target

View File

@ -1,8 +0,0 @@
[Unit]
Description=vsftpd per-connection server (legacy implicit SSL)
After=syslog.target
[Service]
ExecStart=-/usr/sbin/vsftpd -oimplicit_ssl=yes
ExecReload=/bin/kill -HUP $MAINPID
StandardInput=socket

View File

@ -1,11 +0,0 @@
[Unit]
Description=vsftpd daemon
After=syslog.target
[Service]
ExecStart=/usr/sbin/vsftpd -olisten_ipv6=yes
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
[Install]
WantedBy=multi-user.target

View File

@ -1,8 +0,0 @@
[Unit]
Description=vsftpd per-connection server
After=syslog.target
[Service]
ExecStart=-/usr/sbin/vsftpd
ExecReload=/bin/kill -HUP $MAINPID
StandardInput=socket

View File

@ -1,12 +0,0 @@
[Unit]
Description=Wicd Network Manager
After=syslog.target
[Service]
Type=dbus
BusName=org.wicd.daemon
ExecStart=/usr/sbin/wicd -f
Restart=always
[Install]
WantedBy=multi-user.target

View File

@ -1,10 +0,0 @@
[Unit]
Description=Samba Winbind daemon
After=syslog.target
[Service]
ExecStart=/usr/sbin/winbindd -F
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target

View File

@ -1,11 +0,0 @@
[Unit]
Description=Wi-Fi Security Service
After=syslog.target
[Service]
Type=dbus
BusName=fi.epitest.hostap.WPASupplicant
ExecStart=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u
StandardOutput=syslog
# Hmm, a WantedBy=multi-user.target probably makes sense here.

View File

@ -1,10 +0,0 @@
[Unit]
Description=A secure replacement for inetd
After=network.service syslog.target
[Service]
ExecStart=/usr/sbin/xinetd -dontfork
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target

View File

@ -1,12 +0,0 @@
[Unit]
Description=YP Bind
Requires=rpcbind.service domainname.service
After=rpcbind.service domainname.service network.target
[Service]
Type=forking
PIDFile=/var/run/ypbind.pid
ExecStart=/usr/sbin/ypbind
[Install]
WantedBy=multi-user.target

View File

@ -1,9 +0,0 @@
[Unit]
Description=Kerberos 5 propagation server
[Socket]
ListenStream=754
Accept=yes
[Install]
WantedBy=sockets.target

View File

@ -1,8 +0,0 @@
[Unit]
Description=Name Service Cache Daemon Socket
[Socket]
ListenDatagram=/var/run/nscd/socket
[Install]
WantedBy=sockets.target

View File

@ -1,10 +0,0 @@
[Unit]
Description=Ident (RFC 1413) socket
Conflicts=oidentd.service
[Socket]
ListenStream=113
Accept=yes
[Install]
WantedBy=sockets.target

View File

@ -1,9 +0,0 @@
[Unit]
Description=saned incoming socket
[Socket]
ListenStream=6566
Accept=yes
[Install]
WantedBy=multi-user.target

View File

@ -1,10 +0,0 @@
[Unit]
Conflicts=sshd.service
[Socket]
ListenStream=22
Accept=yes
[Install]
WantedBy=sockets.target
Also=sshdgenkeys.service

View File

@ -1,9 +0,0 @@
[Unit]
Conflicts=vsftpd.service
[Socket]
ListenStream=990
Accept=yes
[Install]
WantedBy=sockets.target

View File

@ -1,9 +0,0 @@
[Unit]
Conflicts=vsftpd.service
[Socket]
ListenStream=21
Accept=yes
[Install]
WantedBy=sockets.target

View File

@ -1 +0,0 @@
d /run/libvirt 0755 root root -

View File

@ -1,2 +0,0 @@
D /run/lock/lvm 0755 root lock -
D /run/lvm 0755 root root -

View File

@ -1 +0,0 @@
d /run/openntpd 0755 root root -

View File

@ -1 +0,0 @@
d /var/empty 0755 root root -