mirror of
https://github.com/bolucat/Archive.git
synced 2025-09-26 20:21:35 +08:00
22 lines
605 B
Desktop File
22 lines
605 B
Desktop File
# This file is part of shadowsocks-rust.
|
|
#
|
|
# This is a template unit file. Users may copy and rename the file into
|
|
# config directories to make new service instances. See systemd.unit(5)
|
|
# for details.
|
|
|
|
[Unit]
|
|
Description=Shadowsocks-rust Custom Server Service for %I
|
|
Documentation=https://github.com/shadowsocks/shadowsocks-rust
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
|
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
|
DynamicUser=yes
|
|
ExecStart=/usr/bin/ssservice server --log-without-time -c /etc/shadowsocks-rust/%i.json
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|