diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2014-09-03 15:09:10 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-03 11:09:05 +0100 |
commit | eaa87ab47214854e3530510610af20098b84bf87 (patch) | |
tree | 95a5a2f85e8080041a619236298562ad58d7ce57 /meta/recipes-extended/cups/cups/cups.service | |
parent | cd8255bb4d8ea54cbf88aaa4c0914573571b91f6 (diff) | |
download | poky-eaa87ab47214854e3530510610af20098b84bf87.tar.gz |
cups: add systemd support
Add systemd unit files.
Also remove sysvinit related files if 'sysvinit' is not in
DISTRO_FEATURES.
(From OE-Core rev: 020065d3c57ccdc86c47cd0fc288071cdd194bbc)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/cups/cups/cups.service')
-rw-r--r-- | meta/recipes-extended/cups/cups/cups.service | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-extended/cups/cups/cups.service b/meta/recipes-extended/cups/cups/cups.service new file mode 100644 index 0000000000..7d3e839867 --- /dev/null +++ b/meta/recipes-extended/cups/cups/cups.service | |||
@@ -0,0 +1,10 @@ | |||
1 | [Unit] | ||
2 | Description=CUPS Printing Service | ||
3 | |||
4 | [Service] | ||
5 | ExecStart=@SBINDIR@/cupsd -f | ||
6 | PrivateTmp=true | ||
7 | |||
8 | [Install] | ||
9 | Also=cups.socket cups.path | ||
10 | WantedBy=printer.target | ||