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.

26 lines
830 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 file is default for Debian packaging. See also
  9. # /etc/default/shadowsocks-libev for environment variables.
  10. [Unit]
  11. Description=Shadowsocks-libev Default Server Service
  12. Documentation=man:shadowsocks-libev(8)
  13. After=network-online.target
  14. [Service]
  15. Type=simple
  16. CapabilityBoundingSet=CAP_NET_BIND_SERVICE
  17. AmbientCapabilities=CAP_NET_BIND_SERVICE
  18. DynamicUser=true
  19. EnvironmentFile=/etc/default/shadowsocks-libev
  20. LimitNOFILE=32768
  21. ExecStart=/usr/bin/ss-server -c $CONFFILE $DAEMON_ARGS
  22. [Install]
  23. WantedBy=multi-user.target