mirror of
https://github.com/shadowsocks/shadowsocks-rust.git
synced 2026-02-09 01:59:16 +08:00
* debian: fix up postinst bad substitution Fix up postinst bad substitution caused by Bash string manipulation in the Dash script. * debian: update compat file Fix up the warning caused by compatibility levels before 10 are deprecated. * debian: replace user nobody in systemd file with dynamicuser * debian: remove dependency on apg and pwgen in control file * debian: update shadowsocks-rust-server@.service Add `DynamicUser=yes` in shadowsocks-rust-server@.service * debian: update shadowsocks-rust-local@.service Add `DynamicUser=yes` in shadowsocks-rust-local@.service --------- Co-authored-by: mesher2024 <mesher2024@users.noreply.github.com>
22 lines
604 B
Desktop File
22 lines
604 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 Client 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 local --log-without-time -c /etc/shadowsocks-rust/%i.json
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|