修改安装脚本

This commit is contained in:
QAIU
2023-05-25 15:15:56 +08:00
parent a2d7cd46ea
commit aa3bb83648
5 changed files with 11 additions and 15 deletions

View File

@@ -0,0 +1,18 @@
[Unit]
Description=netdisk-fast-download
Documentation=https://qaiu.top
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
# User=USER
ExecStart=/usr/bin/java -server -Xmx128m -jar /root/java/netdisk-fast-download/netdisk-fast-download-0.0.1.jar
ExecStop=/bin/kill -s QUIT $MAINPID
Restart=always
StandOutput=syslog
StandError=inherit
[Install]
WantedBy=multi-user.target