From c182cd8b048f2cf3d2a4f49998abeda31bf9908d Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Fri, 7 Apr 2023 08:53:27 +0200 Subject: add portforwarding and backup functionalities --- spawnctl-port-forward.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 spawnctl-port-forward.service (limited to 'spawnctl-port-forward.service') diff --git a/spawnctl-port-forward.service b/spawnctl-port-forward.service new file mode 100644 index 0000000..515a849 --- /dev/null +++ b/spawnctl-port-forward.service @@ -0,0 +1,13 @@ +[Unit] +Description=Forward Ports Of NSpawn Containers +After=machines.target + +[Service] +Type=simple +ExecStart=/usr/local/bin/spawnctl forward start +ExecStop=/usr/local/bin/spawnctl forward stop +Restart=always + + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3-70-g09d2