This commit is contained in:
Vladimir Dubrovin 2025-08-10 15:12:46 +03:00
commit b1233e580c
2 changed files with 3 additions and 3 deletions

View File

@ -103,7 +103,7 @@ install-chroot-dir:
$(INSTALL_BIN) -d $(CHROOTDIR)/libexec $(INSTALL_BIN) -d $(CHROOTDIR)/libexec
chmod -R o-rwx $(CHROOTDIR) chmod -R o-rwx $(CHROOTDIR)
install-etc-default-config: install-etc-default-config: install-chroot-dir
if [ ! -d $(INSTALL_CFG_DEST) ]; then \ if [ ! -d $(INSTALL_CFG_DEST) ]; then \
ln -s $(CHROOTREL)/conf $(INSTALL_CFG_DEST); \ ln -s $(CHROOTREL)/conf $(INSTALL_CFG_DEST); \
$(INSTALL_BIN) $(INSTALL_CFG) $(ETCDIR)/3proxy.cfg; \ $(INSTALL_BIN) $(INSTALL_CFG) $(ETCDIR)/3proxy.cfg; \

4
debian/postinst vendored
View File

@ -19,8 +19,8 @@ fi
echo "" echo ""
echo 3proxy installed. echo 3proxy installed.
if /bin/systemctl >/dev/null 2>&1; then \ if /bin/systemctl >/dev/null 2>&1; then \
/bin/systemctl stop 3proxy.service \ /bin/systemctl stop 3proxy.service ;\
/bin/systemctl start 3proxy.service \ /bin/systemctl start 3proxy.service ;\
echo use ;\ echo use ;\
echo " "systemctl start 3proxy.service ;\ echo " "systemctl start 3proxy.service ;\
echo to start proxy ;\ echo to start proxy ;\