Commit Graph
19 Commits
Author SHA1 Message Date
Suilong Liang c04e6dfe2d Change from network.target to network-online.target in systemd service files. 2019-06-26 11:51:37 +08:00
nil c8fcec1a31 remove -u arguments by default 2019-05-02 14:04:50 +08:00
asmca b370bc06f0 update shadowsocks-libev.service
ss-server waits for local ip ready, add network-online.target here.

my env.
CentOS Linux release 7.2.1511 (Core)
2018-01-24 11:08:59 +08:00
Yuxiang Zhu a489834204 Refine SPEC for RPM packages
This change includes:

1. Move shared library `shadowsocks-libev.so.*` to an package `libshadowsocks-libev`
and rename package `shadowsocks-libev-devel` to `libshadowsocks-libev-devel`
to reconcile with the deb packages.
2. Add a new package `shadowsocks-libev-zsh-completion`.
3. Run `setcap` after installation (similar to #1119).
4. Remove ss-nat because it is designed for OpenWrt/LEDE.
5. Auto restart instantiated services after update and stop/disable instantiated
services after uninstallation.
2017-08-23 16:09:49 +08:00
Yuxiang Zhu feeaff85e1 Provides separated service files for RPM packages
As discussed with @librehat in #1604, maintaining a separate set of systemd
files for RPM distributions will be convenient to build on Copr.

This patch will also change some lines in rpm/genrpm.sh to archive the
source code using `git archive` because the old logic doesn't respect
`.gitignore`.
2017-08-22 08:53:56 +08:00
Yuxiang Zhu c90cb5a0ae Fix #1533
This patch is going to replace the group name 'nogroup' with 'nobody' in
debian/shadowsocks-libev.service, and move file
'/etc/default/shadowsocks-libev' to '/etc/sysconfig/shadowsocks-libev'.

This is implemented by creating a text patch file. Not sure whether
there is a better approach.
2017-06-28 05:02:49 -05:00
Symeon Huang 88b906328f update rpm spec file.
use files from debian directory if possible
2015-09-27 15:30:47 +01:00
cuckoo 9985aaa35f add rpm support 2015-03-24 23:55:41 +08:00
Zhang Sen 4c7807d497 Fix typo in init.d script under rpm directory
here is also a wrong spelling
2015-02-14 16:02:15 +08:00
Max Lv 074956483b Enable udprelay in the init script of RHEL 2014-12-08 08:43:21 +08:00
Symeon Huang 350c3546fa RPM uses /usr instead of /usr/local as the prefix. 2014-11-23 15:29:07 +00:00
Symeon Huang 50dbeef003 completely rename as shadowsocks-libev.
it's not conflicted with shadowsocks-python now. users can install both python and libev
ports of shaowsocks now. but they should migrate their old configuration file from
/etc/shadowsocks/config.json to /etc/shadowsocks-libev/config.json
2014-11-16 19:56:04 +00:00
Max Lv ef432f078b Fix the pid file in centos init script 2014-02-18 09:01:27 +08:00
Max Lv 1bdcadf7e7 Update the init script of centos 2014-02-18 08:52:39 +08:00
Vinna bdb5977865 tidy 2014-01-21 17:12:27 +08:00
Vinna c52e30dd20 cancel certain user permisson,because run failed 2014-01-21 17:10:35 +08:00
Vinna 0557bcd727 fix service failed 2014-01-21 17:04:48 +08:00
Vinna d4dfc6dbf0 New one 2014-01-20 17:55:52 +08:00
Vinna 7d14bb99b1 add init script 2014-01-20 17:34:13 +08:00