mirror of
https://github.com/itdoginfo/podkop.git
synced 2025-12-06 11:36:50 +03:00
Added init.d dir for sync
This commit is contained in:
@@ -29,6 +29,10 @@ const syncDirs = [
|
||||
local: path.resolve(process.env.LOCAL_DIR_LIB ?? '../podkop/files/usr/lib/'),
|
||||
remote: process.env.REMOTE_DIR_LIB ?? '/usr/lib/podkop/',
|
||||
},
|
||||
{
|
||||
local: path.resolve(process.env.LOCAL_DIR_INIT ?? '../podkop/files/etc/init.d/'),
|
||||
remote: process.env.REMOTE_DIR_INIT ?? '/etc/init.d/',
|
||||
}
|
||||
];
|
||||
|
||||
async function uploadFile(filePath, baseDir, remoteBase) {
|
||||
|
||||
Reference in New Issue
Block a user