You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ublinux-init/ublinux/systemd/printers-setup@.service

19 lines
581 B

#
# Author: Dmitry Razumov <asmeron@ublinux.com>
# Copyright (c) 2021-2025 UBLinux <support@ublinux.com>
#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
[Unit]
Description=UBLinux configure Plugged-In Printer
Requires=cups.socket
After=cups.socket
[Service]
ExecStart=/usr/bin/bash /usr/lib/ublinux/scripts/printers_setup.sh add %I