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.

25 lines
815 B

  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 for %I
  13. Documentation=man:ss-local(1)
  14. After=network-online.target
  15. [Service]
  16. Type=simple
  17. CapabilityBoundingSet=CAP_NET_BIND_SERVICE
  18. AmbientCapabilities=CAP_NET_BIND_SERVICE
  19. DynamicUser=true
  20. ExecStart=/usr/bin/ss-local -c /etc/shadowsocks-libev/%i.json
  21. [Install]
  22. WantedBy=multi-user.target