mirror of
https://github.com/qaiu/netdisk-fast-download.git
synced 2026-12-06 02:54:00 +00:00
修改安装脚本
This commit is contained in:
1 parent
a2d7cd46ea
commit
aa3bb83648
5 files changed
+11
-15
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user