summaryrefslogtreecommitdiffstats
path: root/projectroot/usr
diff options
context:
space:
mode:
Diffstat (limited to 'projectroot/usr')
-rw-r--r--projectroot/usr/lib/systemd/system/openct.service7
-rw-r--r--projectroot/usr/lib/systemd/system/pulseaudio.service12
2 files changed, 19 insertions, 0 deletions
diff --git a/projectroot/usr/lib/systemd/system/openct.service b/projectroot/usr/lib/systemd/system/openct.service
new file mode 100644
index 000000000..becbd5931
--- /dev/null
+++ b/projectroot/usr/lib/systemd/system/openct.service
@@ -0,0 +1,7 @@
+[Unit]
+Description=OpenCT
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/openct-control init
+ExecStop=/usr/sbin/openct-control shutdown
diff --git a/projectroot/usr/lib/systemd/system/pulseaudio.service b/projectroot/usr/lib/systemd/system/pulseaudio.service
new file mode 100644
index 000000000..649d53e33
--- /dev/null
+++ b/projectroot/usr/lib/systemd/system/pulseaudio.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Sound Service
+
+[Service]
+Environment=USERPROFILE=/run/pulse
+Environment=XDG_RUNTIME_DIR=/run
+Environment=XDG_CONFIG_HOME=/run/config
+ExecStart=/usr/bin/pulseaudio --daemonize=no
+Restart=on-failure
+
+[Install]
+Also=pulseaudio.socket