summaryrefslogtreecommitdiff
path: root/src/conf_mode/tftp_server.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-13 20:59:33 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-13 20:59:33 +0200
commit34978e349961fe1aa93025eba5d7ec47b7c5355b (patch)
treecea516152e12432e9a0c56b3f5801970c6d5235f /src/conf_mode/tftp_server.py
parentfa3c9b31e7b8f1ae86fba6cf365c46ad2c532113 (diff)
downloadvyos-1x-34978e349961fe1aa93025eba5d7ec47b7c5355b.tar.gz
vyos-1x-34978e349961fe1aa93025eba5d7ec47b7c5355b.zip
tftp-server: T2185: explicitly specify systemd service
Diffstat (limited to 'src/conf_mode/tftp_server.py')
-rwxr-xr-xsrc/conf_mode/tftp_server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/tftp_server.py b/src/conf_mode/tftp_server.py
index 229202304..94c8bcf03 100755
--- a/src/conf_mode/tftp_server.py
+++ b/src/conf_mode/tftp_server.py
@@ -106,7 +106,7 @@ def generate(tftpd):
def apply(tftpd):
# stop all services first - then we will decide
- call('systemctl stop tftpd@{0..20}')
+ call('systemctl stop tftpd@{0..20}.service')
# bail out early - e.g. service deletion
if tftpd is None: