[Cups and systemd] duplicated service file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi all,

    I found that the package cups hav duplicated service file,
    Here is some cmdline interactivity:

       [root@system 09:47:09]$ pacman -Ql cups | grep service
       cups /usr/lib/systemd/system/cups.service
       cups /usr/lib/systemd/system/cupsd.service

       [root@system 09:47:48]$ diff cupsd.service cups.service
       gives no result.

       [root@system 09:46:35]$ cat cupsd.service
       [Unit]
       Description=CUPS Printing Service

       [Service]
       ExecStart=/usr/sbin/cupsd -f
       PrivateTmp=true

       [Install]
       Also=cups.socket cups.path
       WantedBy=printer.target
       [root@system 09:46:49]$ cat cups.service
       [Unit]
       Description=CUPS Printing Service

       [Service]
       ExecStart=/usr/sbin/cupsd -f
       PrivateTmp=true

       [Install]
       Also=cups.socket cups.path
       WantedBy=printer.target

       [root@system 09:46:31]$ systemctl  enable cupsd.service
       Failed to issue method call: No such file or directory

       [root@system 09:52:28]$ systemctl  enable cups.service
       ln -s '/usr/lib/systemd/system/cups.service' '/etc/systemd/system/printer.target.wants/cups.service'
       ln -s '/usr/lib/systemd/system/cups.socket' '/etc/systemd/system/sockets.target.wants/cups.socket'
       ln -s '/usr/lib/systemd/system/cups.path' '/etc/systemd/system/multi-user.target.wants/cups.path'

--
Brock Zheng <goodmenzy@xxxxxxxxx>
郑 祎

Software Enginner


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux