Files
TrustTunnel/scripts/trusttunnel.service.template
Andrey Yakushin 966eb0ce1a Pull request 106: Fix systemd instruction
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
2025-12-22 16:37:38 +03:00

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