mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-20 08:25:50 +08:00
up
This commit is contained in:
@@ -5,8 +5,10 @@ After=network.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart={$SWAPON_BIN} {$SERVER_PATH}/swap/swapfile
|
||||
ExecReload=/bin/kill -USR2 $MAINPID
|
||||
ExecStart={$SERVER_PATH}/swap/init.d/swap start
|
||||
ExecStop={$SERVER_PATH}/swap/init.d/swap stop
|
||||
RemainAfterExit=yes
|
||||
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Reference in New Issue
Block a user