fix subconverter ececutable missing

This commit is contained in:
ElonH 2020-02-21 17:11:14 +08:00 committed by GitHub
parent 3a04b947a9
commit 3098c55a6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,7 @@ USE_PROCD=1
BIN=/etc/subconverter/subconverter
start_service() {
[ ! -e /etc/subconverter/subconverter ] && ln -fs /usr/bin/subconverter /etc/subconverter/subconverter
procd_open_instance
procd_set_param command $BIN
procd_set_param respawn