You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
776 B

8 years ago
  1. # This file is part of shadowsocks-libev.
  2. #
  3. # Shadowsocks-libev is free software; you can redistribute it and/or modify
  4. # it under the terms of the GNU General Public License as published by
  5. # the Free Software Foundation; either version 3 of the License, or
  6. # (at your option) any later version.
  7. #
  8. # This is a template unit file. Users may copy and rename the file into
  9. # config directories to make new service instances. See systemd.unit(5)
  10. # for details.
  11. [Unit]
  12. Description=Shadowsocks-Libev Custom Client Service Redir Mode for %I
  13. Documentation=man:ss-redir(1)
  14. After=network.target
  15. [Service]
  16. Type=simple
  17. CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
  18. ExecStart=/usr/bin/ss-redir -c /etc/shadowsocks-libev/%i.json
  19. [Install]
  20. WantedBy=multi-user.target