summarylogtreecommitdiffstats
path: root/outline-ss-server.service
blob: 464e334991595607d759e2633210142e3abe049f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[Unit]
Description=Outline Shadowsocks server
Requires=network-online.target
After=network-online.target

[Service]
User=outline-ss-server
Group=outline-ss-server
Restart=on-failure
EnvironmentFile=-/etc/conf.d/outline-ss-server
ExecStart=/usr/bin/outline-ss-server -config=/etc/outline-ss-server/server.yml $OUTLINE_SS_SERVER_ARGS
ExecReload=/bin/kill -HUP $MAINPID

NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=true
ProtectKernelTunables=true

[Install]
WantedBy=multi-user.target