Changeset 5171


Ignore:
Timestamp:
Jun 14, 2017, 5:05:42 PM (18 months ago)
Author:
hectorgh
Message:

restart instead of stop/start

File:
1 edited

Legend:

Unmodified
Added
Removed
  • n4d-cups/trunk/fuentes/debian/n4d-cups.postinst

    r5167 r5171  
    1212        if [ ! -L "$ORIGINAL_FILE" ]; then
    1313
    14                 systemctl stop cups || true
    1514                dpkg-divert --add --package ${PKG} --rename --divert "$NEW_DIVERTED_FILE" "$ORIGINAL_FILE"
    1615                ln -s "$LLIUREX_FILE" "$ORIGINAL_FILE"
    17                 systemctl start cups || true
     16                systemctl restart cups || true
    1817
    1918        fi
Note: See TracChangeset for help on using the changeset viewer.