Explorar el Código

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

Christoph Schug hace 19 años
padre
commit
b2ebacd28b
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  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 \