This unit is provided by:
Options
-
[Install]-
WantedBy=multi-user.target
-
-
[Service]-
AmbientCapabilities=CAP_NET_BIND_SERVICE -
ExecReload=/bin/kill -HUP $MAINPID -
ExecStart=/usr/bin/trojan /etc/trojan/config.json -
Restart=on-failure -
RestartSec=1s -
StandardError=journal -
Type=simple -
User=nobody
-
-
[Unit]-
After=network.target network-online.target nss-lookup.target mysql.service mariadb.service mysqld.service -
Description=trojan -
Documentation=man:trojan(1) https://trojan-gfw.github.io/trojan/config https://trojan-gfw.github.io/trojan/
-
Additionnal notes
Nothing here.