Преглед на файлове

added missing %restart target used in %post of the spec

Christoph Schug преди 19 години
родител
ревизия
b2ebacd28b
променени са 1 файла, в които са добавени 5 реда и са изтрити 0 реда
  1. 5 0
      bittorrent/rc.bittorrent

+ 5 - 0
bittorrent/rc.bittorrent

@@ -55,6 +55,11 @@
     sleep 2
     rm -f $bittorrent_pidfile 2>/dev/null || true
 
+%restart -u @l_rusr@
+    rcService bittorrent enable yes || exit 0
+    rcService bittorrent active no  && exit 0
+    rc bittorrent stop start
+
 %daily -u @l_susr@
     rcService bittorrent enable yes || exit 0
     shtool rotate -f \