diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-04-07 08:53:27 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-04-07 08:53:27 +0200 |
| commit | c182cd8b048f2cf3d2a4f49998abeda31bf9908d (patch) | |
| tree | b33447b32390dfd248266f559318ed081095bb6e /spawnctl-port-forward.service | |
| parent | afe0925a8796d71e7f795516d9ea3086a0238524 (diff) | |
add portforwarding and backup functionalities
Diffstat (limited to 'spawnctl-port-forward.service')
| -rw-r--r-- | spawnctl-port-forward.service | 13 |
1 files changed, 13 insertions, 0 deletions
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 |