Skip to content

Commit

Permalink
Include shadowsocks-libev-*.service files for RPM packages (shadowsoc…
Browse files Browse the repository at this point in the history
  • Loading branch information
vfreex authored and madeye committed Oct 16, 2016
1 parent 7029cfc commit 0230620
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rpm/SPECS/shadowsocks-libev.spec
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ mkdir -p %{buildroot}%{_sysconfdir}/default
mkdir -p %{buildroot}%{_unitdir}
install -m 644 %{_builddir}/%{buildsubdir}/debian/shadowsocks-libev.default %{buildroot}%{_sysconfdir}/default/shadowsocks-libev
install -m 644 %{_builddir}/%{buildsubdir}/debian/shadowsocks-libev.service %{buildroot}%{_unitdir}/shadowsocks-libev.service
install -m 644 %{_builddir}/%{buildsubdir}/debian/shadowsocks-libev-*.service %{buildroot}%{_unitdir}/
%endif
install -m 644 %{_builddir}/%{buildsubdir}/debian/config.json %{buildroot}%{_sysconfdir}/shadowsocks-libev/config.json

Expand Down Expand Up @@ -82,6 +83,7 @@ fi
%{_initddir}/shadowsocks-libev
%else
%{_unitdir}/shadowsocks-libev.service
%{_unitdir}/shadowsocks-libev-*.service
%config(noreplace) %{_sysconfdir}/default/shadowsocks-libev
%endif

Expand Down

0 comments on commit 0230620

Please sign in to comment.