Files moved from scripts.
This commit is contained in:
20
service/ssh_lusntag.service
Normal file
20
service/ssh_lusntag.service
Normal file
@@ -0,0 +1,20 @@
|
||||
[Unit]
|
||||
#SourcePath=/etc/init.d/rpcbind
|
||||
Description=SSH lusntag.vostan.org
|
||||
#DefaultDependencies=no
|
||||
Before=shutdown.target
|
||||
After=network-online.target local-fs.target
|
||||
Wants=network-online.target
|
||||
Conflicts=shutdown.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=vahagn
|
||||
Group=vahagn
|
||||
Restart=always
|
||||
RestartSec=5s
|
||||
WorkingDirectory=/tmp
|
||||
ExecStart=/usr/bin/ssh -N -R *:8022:127.0.0.1:22 -R *:58846:127.0.0.1:58846 -R *:8112:127.0.0.1:8112 -p 8080 -i /home/vahagn/.ssh/id_rsa vahagn@lusntag.vostan.org
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user