Set up ssh tunnel from spinch to plugh.de
This commit is contained in:
parent
d53b86d3ca
commit
3609b1b760
2 changed files with 23 additions and 2 deletions
14
showbits-thermal-printer/meta/spinch-tunnel.service
Normal file
14
showbits-thermal-printer/meta/spinch-tunnel.service
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[Unit]
|
||||
Description=Showbits Thermal Printer Tunnel
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=ssh plugh@plugh.de -NR 8005:localhost:8001
|
||||
Restart=on-failure
|
||||
|
||||
User=bondrucker
|
||||
Group=bondrucker
|
||||
WorkingDirectory=~
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue