mirror of
https://github.com/bolucat/Archive.git
synced 2025-09-26 20:21:35 +08:00
21 lines
443 B
Desktop File
21 lines
443 B
Desktop File
[Unit]
|
|
Description=Yet Another Shadow Socket Server
|
|
After=network-online.target nss-lookup.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=exec
|
|
User=root
|
|
ExecStart=/usr/bin/yass_server -c /etc/yass/server.json -logtostderr --user nobody --group nogroup
|
|
Restart=on-failure
|
|
RestartSec=5s
|
|
RestartPreventExitStatus=23
|
|
TimeoutStopSec=5s
|
|
LimitNOFILE=1048576
|
|
LimitNPROC=512
|
|
PrivateTmp=true
|
|
ProtectSystem=full
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|