Max Lv
d1171f44d0
Revert ""DynamicUser=true" makes "/etc/init.d/shadowsocks-libev start" fail."
This reverts commit ca4caabac6
.
3 years ago
abner_bob
ca4caabac6
"DynamicUser=true" makes "/etc/init.d/shadowsocks-libev start" fail.
3 years ago
Maxim Shpak
6329526199
Run systemd service after network is available (unit file fix)
There is a race condition between shadowsocks-libev.service and
systemd-resolved.service after reboot/on boot. The shadowsocks
service tries to start before the dns service is started properly
and fails showing the corresponding errors in the logs.
3 years ago
Roger Shimizu
0d96da4471
Sync debian/ folder with debian version 3.3.4+ds-3
4 years ago
Suilong Liang
c04e6dfe2d
Change from network.target to network-online.target in systemd service files.
5 years ago
edsgerlin
0496416387
Add AmbientCapabilities for all.
6 years ago
edsgerlin
d5d28580f9
Add `CAP_NET_BIND_SERVICE` to `shadowsocks-libev.service`
It ensures process have permission to bind to port <=1000.
Other systemd config files already have it except this one.
6 years ago
Roger Shimizu
cc30c7b6eb
debian/shadowsocks-libev.{default,init,service}: Run service as non-root
7 years ago
Max Lv
824b9dc3b0
Revert "debian/shadowsocks-libev.{default,init,service}: Run service as non-root"
This reverts commit 9e31cae042
.
7 years ago
Max Lv
bfd365f0fd
Revert "Fix #1064"
This reverts commit dc94267fa1
.
7 years ago
Max Lv
dc94267fa1
Fix #1064
7 years ago
Roger Shimizu
9e31cae042
debian/shadowsocks-libev.{default,init,service}: Run service as non-root
7 years ago
Roger Shimizu
8fb864551c
Add manpage to systemd service file ( #679 )
Referred:
https://www.freedesktop.org/software/systemd/man/systemd.unit.html#Documentation=
8 years ago
Max Lv
97446544da
Update shadowsocks-libev.service
8 years ago
Max Lv
e0d290ffab
Fix #658
8 years ago
Max Lv
fd0d8108bb
Update shadowsocks-libev.service
8 years ago
Boyuan Yang
65a15b1356
make Debian systemd service use /etc/default conf.
9 years ago
Boyuan Yang
643d579bdf
Improve Debian packaging script.
if debuild or dpkg-buildpackage is used, it will generate 4 packages
to fit Debian's packaging policy.
9 years ago