Przeglądaj źródła

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

Christoph Schug 19 lat temu
rodzic
commit
b2ebacd28b
1 zmienionych plików z 5 dodań i 0 usunięć
  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 \