From eef5d97edd74b6b36768a58ddd55f0d04eab5e7a Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Sat, 28 Jul 2018 19:43:25 +0000 Subject: [PATCH] Fix --- debian9-x86_64.sh | 4 ++-- omr.service.in | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/debian9-x86_64.sh b/debian9-x86_64.sh index 05ea4d9..504f67f 100644 --- a/debian9-x86_64.sh +++ b/debian9-x86_64.sh @@ -247,9 +247,9 @@ fi # Add OpenMPTCProuter VPS script version to /etc/motd if grep --quiet 'OpenMPTCProuter VPS' /etc/motd; then - sed -i 's:< OpenMPTCProuter VPS [0-9]*\.[0-9]* >:< OpenMPCTProuter VPS 0.38 >:' /etc/motd + sed -i 's:< OpenMPTCProuter VPS [0-9]*\.[0-9]* >:< OpenMPCTProuter VPS 0.39 >:' /etc/motd else - echo '< OpenMPTCProuter VPS 0.38 >' >> /etc/motd + echo '< OpenMPTCProuter VPS 0.39 >' >> /etc/motd fi if [ "$update" = "0" ]; then diff --git a/omr.service.in b/omr.service.in index b965280..6728648 100644 --- a/omr.service.in +++ b/omr.service.in @@ -1,12 +1,12 @@ [Unit] -Description=OMR-6in4 +Description=OMR After=network.target network-online.target glorytun-tcp@.service [Service] Type=simple Restart=always -ExecStart=/usr/local/bin/omr-6in4-service -ExecStop=/usr/local/bin/omr-6in4-service stop +ExecStart=/usr/local/bin/omr-service +ExecStop=/usr/local/bin/omr-service stop CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_RAW [Install]