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.

27 lines
796 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 Server Service for %I
  13. Documentation=man:ss-server(1)
  14. After=network.target
  15. [Service]
  16. Type=simple
  17. CapabilityBoundingSet=CAP_NET_BIND_SERVICE
  18. ExecStart=/usr/bin/ss-server -c /etc/shadowsocks-libev/%i.json
  19. User=nobody
  20. Group=nobody
  21. LimitNOFILE=32768
  22. [Install]
  23. WantedBy=multi-user.target