Commits

Josh VanderLinden  committed 443ab25

Updating service files

  • Participants
  • Parent commits f447ec7

Comments (0)

Files changed (4)

 # Maintainer: Josh VanderLinden <arch@cloudlery.com>
 pkgname=autotunnel
-pkgver=0.2.0
+pkgver=0.2.1
 pkgrel=1
 pkgdesc="Easily create tunnels, reverse tunnels, and socks proxies"
 arch=('any')

File autotunnel.ini

 [program:Tunnel]
-command=/home/wheaties/bin/tunnel_to_home.sh
+command=/usr/local/bin/autotunnel /etc/autotunnel/default.conf
 numprocs=1
 autostart=true
 autorestart=true
 startsecs=15
 starretries=999999
-user=wheaties
+user=root

File autotunnel.service

 
 [Service]
 Type=simple
+Restart=restart-always
 ExecStart=/usr/local/bin/autotunnel /etc/autotunnel/default.conf
 ExecStop=/usr/local/bin/autotunnel -k /etc/autotunnel/default.conf
-KillMode=none
 
 [Install]
 WantedBy=multi-user.target

File autotunnel@.service

 
 [Service]
 Type=simple
+Restart=restart-always
 ExecStart=/usr/local/bin/autotunnel /etc/autotunnel/%i.conf
 ExecStop=/usr/local/bin/autotunnel -k /etc/autotunnel/%i.conf