Added transfersh CT
This commit is contained in:
5
CT-Files/transfersh/Configs/transfersh.conf
Normal file
5
CT-Files/transfersh/Configs/transfersh.conf
Normal file
@@ -0,0 +1,5 @@
|
||||
LISTENER=:8080
|
||||
TEMP_PATH=/tmp
|
||||
PROVIDER=local
|
||||
BASEDIR=/opt/transfer.sh/store
|
||||
#ForFutureDarkTheme#WEB_PATH=/opt/transfer.sh/CustomTheme
|
||||
13
CT-Files/transfersh/Configs/transfersh.service
Normal file
13
CT-Files/transfersh/Configs/transfersh.service
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
supervisor=supervise-daemon
|
||||
name=transfersh
|
||||
command="/opt/transfer.sh/transfersh-linux-amd64"
|
||||
command_user="transfersh"
|
||||
supervise_daemon_args="$(sed -e '/^#/d' -e 's/^/--env /' /opt/transfer.sh/transfersh.conf | xargs)"
|
||||
pidfile="/run/gitea.pid"
|
||||
|
||||
depend() {
|
||||
use logger dns
|
||||
need net
|
||||
}
|
||||
Reference in New Issue
Block a user