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
824 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 RPM packaging. See also
  9. # /etc/sysconfig/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 network-online.target
  14. [Service]
  15. Type=simple
  16. EnvironmentFile=/etc/sysconfig/shadowsocks-libev
  17. User=nobody
  18. Group=nobody
  19. LimitNOFILE=32768
  20. ExecStart=/usr/bin/ss-server -c "$CONFFILE" $DAEMON_ARGS
  21. CapabilityBoundingSet=CAP_NET_BIND_SERVICE
  22. [Install]
  23. WantedBy=multi-user.target