2024-02-27 23:12:58 +08:00
|
|
|
[Unit]
|
|
|
|
Description=outline-ss-server
|
2025-04-01 21:12:37 +08:00
|
|
|
After=network-online.target
|
2024-02-27 23:12:58 +08:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=vpn
|
|
|
|
Group=vpn
|
|
|
|
WorkingDirectory=/etc/outline-ss-server
|
2024-08-16 15:18:23 +08:00
|
|
|
# https://download.db-ip.com/free/dbip-asn-lite-$(date +%Y-%m).mmdb.gz
|
|
|
|
# https://download.db-ip.com/free/dbip-country-lite-$(date +%Y-%m).mmdb.gz
|
2024-07-24 16:29:29 +08:00
|
|
|
ExecStart=/usr/local/bin/outline-ss-server -config=config.yml \
|
|
|
|
-ip_asn_db=ip-asn.mmdb \
|
|
|
|
-ip_country_db=ip-country.mmdb \
|
|
|
|
-metrics=127.0.0.1:9092 \
|
|
|
|
-replay_history=10000
|
2024-02-27 23:12:58 +08:00
|
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
|
|
LimitNOFILE=65536
|
|
|
|
RestartSec=5
|
|
|
|
Restart=always
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|