summarylogtreecommitdiffstats
path: root/greetd.initd
blob: c63024d41f3d71a1051d6d7bcb4da8348089d624 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/sbin/openrc-run

name="greetd"
description="Simple greeter daemon"

: "${cfgfile:=/etc/greetd/config.toml}"

command=/usr/bin/greetd
command_args="--config ${cfgfile} ${command_args:-}"
command_background=yes
pidfile="/run/$RC_SVCNAME.pid"

required_files="${cfgfile}"

depend() {
    need localmount
    provide display-manager
}

# vim:set filetype=sh: