diff options
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 |