summaryrefslogtreecommitdiff
path: root/user/sddm/sddm.initd
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-06-02 08:32:51 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-06-02 08:33:01 +0000
commit6fddc7245f6b42d3625f59fb8b81efcdbdec0747 (patch)
tree6b2e6c027045cc58987652a185f35eedf82d563b /user/sddm/sddm.initd
parent708fb3dfe19d6ef541dee2df14bed1620f78bdad (diff)
downloadpackages-6fddc7245f6b42d3625f59fb8b81efcdbdec0747.tar.gz
packages-6fddc7245f6b42d3625f59fb8b81efcdbdec0747.tar.bz2
packages-6fddc7245f6b42d3625f59fb8b81efcdbdec0747.tar.xz
packages-6fddc7245f6b42d3625f59fb8b81efcdbdec0747.zip
user/sddm: add official OpenRC support, thanks @Aerdan
Merges !233
Diffstat (limited to 'user/sddm/sddm.initd')
-rw-r--r--user/sddm/sddm.initd17
1 files changed, 17 insertions, 0 deletions
diff --git a/user/sddm/sddm.initd b/user/sddm/sddm.initd
new file mode 100644
index 000000000..cf5c1af79
--- /dev/null
+++ b/user/sddm/sddm.initd
@@ -0,0 +1,17 @@
+#!/sbin/openrc-run
+
+depends() {
+ needs localmount
+ after bootmisc consolefont modules netmount keymaps
+
+ use consolekit dbus
+}
+
+description="Simple Desktop Display Manager"
+command="/usr/bin/sddm"
+command_args="${sddm_opts}"
+start_stop_daemon_args="-m --background"
+pidfile="/var/run/sddm.pid"
+
+# uses the openrc templates for start()/stop()
+