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
742 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=root
  18. LimitNOFILE=32768
  19. ExecStart=/usr/bin/ss-server -a $USER -c $CONFFILE $DAEMON_ARGS
  20. [Install]
  21. WantedBy=multi-user.target