feat: add build restproxy to the input
This commit is contained in:
1 parent
e6b570488c
commit
e9c7f4fa2c
16 files changed
+379
-17
No files matched your search
Executable
+10
@@ -0,0 +1,10 @@
|
||||
Package: restproxy
|
||||
Version: 2403.1-YYYYMMDD
|
||||
Section: net
|
||||
Priority: optional
|
||||
Architecture: amd64
|
||||
Essential: no
|
||||
Depends:
|
||||
Conflicts: restproxy
|
||||
Maintainer: 4GC
|
||||
Description: 4GC REST Proxy Software
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
test ! -f /usr/local/restproxy/conf/rest_proxy.conf && cp -rf /usr/local/restproxy/conf/default/* /usr/local/restproxy/conf
|
||||
|
||||
systemctl enable restproxy
|
||||
|
||||
exit 0
|
||||
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Commands to be run before uninstall of the package
|
||||
|
||||
systemctl disable restproxy
|
||||
|
||||
Reference in new issue
Block a user