infra(systemd): 🧱 Update systemd unit file directives for Atlilith tunnel service
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
4c08f82912
commit
7867a700d5
1 changed files with 16 additions and 0 deletions
16
systemd/atlilith-tunnel.service
Normal file
16
systemd/atlilith-tunnel.service
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
[Unit]
|
||||
Description=atlilith SSH reverse tunnel (black → vps-0)
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=%h/Code/@projects/@atlilith/scripts/setup-tunnel.sh
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
# Don't restart-thrash if the key is broken / vps-0 unreachable
|
||||
StartLimitIntervalSec=300
|
||||
StartLimitBurst=10
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Loading…
Add table
Reference in a new issue