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
749 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.target
  14. [Service]
  15. Type=simple
  16. EnvironmentFile=/etc/default/shadowsocks-libev
  17. User=nobody
  18. Group=nogroup
  19. LimitNOFILE=32768
  20. ExecStart=/usr/bin/ss-server -c $CONFFILE $DAEMON_ARGS
  21. [Install]
  22. WantedBy=multi-user.target