mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-24 05:17:06 +02:00
23 lines
735 B
Desktop File
23 lines
735 B
Desktop File
[Unit]
|
|
Description=outline-ss-server
|
|
After=network.target
|
|
|
|
[Service]
|
|
User=vpn
|
|
Group=vpn
|
|
WorkingDirectory=/etc/outline-ss-server
|
|
# 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
|
|
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
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
LimitNOFILE=65536
|
|
RestartSec=5
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|