Accepting request 1235195 from server:proxy
OBS-URL: https://build.opensuse.org/request/show/1235195 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadowsocks-rust?expand=0&rev=12
This commit is contained in:
commit
449ba6130d
@ -18,7 +18,7 @@ ProtectControlGroups=true
|
||||
RestrictRealtime=true
|
||||
# end of automatic additions
|
||||
Type=forking
|
||||
PIDFile=/var/run/shadowsocks-rust-client.pid
|
||||
PIDFile=/run/shadowsocks/shadowsocks-rust-client.pid
|
||||
ExecStart=/usr/bin/sslocal --log-without-time -c /etc/shadowsocks/shadowsocks-rust.json --tcp-fast-open
|
||||
Restart=on-failure
|
||||
User=shadowsocks
|
||||
|
@ -18,7 +18,7 @@ ProtectControlGroups=true
|
||||
RestrictRealtime=true
|
||||
# end of automatic additions
|
||||
Type=forking
|
||||
PIDFile=/var/run/shadowsocks-rust-manager.pid
|
||||
PIDFile=/run/shadowsocks/shadowsocks-rust-manager.pid
|
||||
ExecStart=/usr/bin/ssmanager --log-without-time -c /etc/shadowsocks/shadowsocks-rust.json --tcp-fast-open
|
||||
Restart=on-failure
|
||||
User=shadowsocks
|
||||
|
@ -18,7 +18,7 @@ ProtectControlGroups=true
|
||||
RestrictRealtime=true
|
||||
# end of automatic additions
|
||||
Type=forking
|
||||
PIDFile=/var/run/shadowsocks-rust-server.pid
|
||||
PIDFile=/run/shadowsocks/shadowsocks-rust-server.pid
|
||||
ExecStart=/usr/bin/ssserver --log-without-time -c /etc/shadowsocks/shadowsocks-rust.json --tcp-fast-open
|
||||
Restart=on-failure
|
||||
User=shadowsocks
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 6 08:27:53 UTC 2025 - Hillwood Yang <hillwood@opensuse.org>
|
||||
|
||||
- Fix start failure by systemd
|
||||
* Make sure /etc/shadowsocks can be read by shadowsocks user
|
||||
* Create the PID file under /run/shadowsocks
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 22 13:00:48 UTC 2024 - Hillwood Yang <hillwood@opensuse.org>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package shadowsocks-rust
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -89,7 +89,8 @@ getent passwd shadowsocks >/dev/null || %{_sbindir}/useradd --system -c "shadows
|
||||
%service_add_post %{name}-server.service
|
||||
%service_add_post %{name}-manager.service
|
||||
chown root:shadowsocks %{_sysconfdir}/shadowsocks -R
|
||||
chmod 640 %{_sysconfdir}/shadowsocks -R
|
||||
chmod 750 %{_sysconfdir}/shadowsocks
|
||||
chmod 640 %{_sysconfdir}/shadowsocks/*
|
||||
|
||||
%preun
|
||||
%service_del_preun %{name}-client.service
|
||||
|
Loading…
x
Reference in New Issue
Block a user