mirror of
https://github.com/bolucat/Archive.git
synced 2025-12-24 13:28:37 +08:00
26 lines
817 B
Desktop File
26 lines
817 B
Desktop File
# This file is part of shadowsocks-libev.
|
|
#
|
|
# Shadowsocks-libev is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# This is a template unit file. Users may copy and rename the file into
|
|
# config directories to make new service instances. See systemd.unit(5)
|
|
# for details.
|
|
|
|
[Unit]
|
|
Description=Shadowsocks-Libev Custom Server Service for %I
|
|
Documentation=man:ss-server(1)
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
|
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
|
DynamicUser=true
|
|
ExecStart=/usr/bin/ss-server -c /etc/shadowsocks-libev/%i.json
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|