mirror of
https://github.com/TrustTunnel/TrustTunnel.git
synced 2026-04-24 03:30:41 +00:00
Squashed commit of the following: commit 53f8763b5801cc4a97d613aab9a9defab7603733 Author: Andrey Yakushin <a.yakushin@adguard.com> Date: Mon Dec 22 17:26:05 2025 +0400 Fix description commit b12ca969e7f26447aabde1506df44036ff8f4ef5 Author: Andrey Yakushin <a.yakushin@adguard.com> Date: Mon Dec 22 17:19:35 2025 +0400 Fix systemd instruction: copy service instead of symlinking it
22 lines
552 B
Plaintext
22 lines
552 B
Plaintext
# Service template for the TrustTunnel endpoint
|
|
# Adjust paths at `ExecStart` and copy file to systemd system directory:
|
|
#
|
|
# cp trusttunnel.service.template /etc/systemd/system/trusttunnel.service
|
|
# systemctl daemon-reload
|
|
# systemctl enable --now trusttunnel
|
|
|
|
[Unit]
|
|
Description=TrustTunnel endpoint
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory=/opt/trusttunnel
|
|
ExecStart=/opt/trusttunnel/trusttunnel_endpoint vpn.toml hosts.toml
|
|
Restart=on-failure
|
|
RestartSec=3
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|