transmission: add init file STOP directive 11782/head
authorFrancesco G <gfrancesco@users.noreply.github.com>
Mon, 6 Apr 2020 21:12:26 +0000 (23:12 +0200)
committerFrancesco G <gfrancesco@gmail.com>
Tue, 7 Apr 2020 10:44:23 +0000 (12:44 +0200)
Transmission should stop early on system shutdown to avoid
for example fstab unmount disks when transmission is writing.

Signed-off-by: Francesco G <gfrancesco@users.noreply.github.com>
net/transmission/Makefile
net/transmission/files/transmission.init

index 5fcb5b973f52120ce94d4fd7de3d52d4369732c1..6425334125658688ca44e7aa01b70fb95d21453f 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=transmission
 PKG_VERSION:=2.94
-PKG_RELEASE:=15
+PKG_RELEASE:=16
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@GITHUB/transmission/transmission-releases/master
index 9f0f7958de331a06ccde06674392a719ce022f3a..1af3bedde228063c287667e5c8807524a65d7013 100644 (file)
@@ -2,6 +2,7 @@
 # Copyright (C) 2010-2015 OpenWrt.org
 
 START=99
+STOP=10
 USE_PROCD=1
 PROG="/usr/bin/transmission-daemon"