Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
34e99ce3
Commit
34e99ce3
authored
Mar 01, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit packed 3.32.0
parent
376a6b52
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
epm.sh
packed/epm.sh
+0
-0
serv.sh
packed/serv.sh
+8
-7
No files found.
packed/epm.sh
View file @
34e99ce3
This diff is collapsed.
Click to expand it.
packed/serv.sh
View file @
34e99ce3
...
...
@@ -592,6 +592,7 @@ set_distro_info()
DISTRARCH
=
$(
$DISTRVENDOR
--distro-arch
)
fi
DISTRCONTROL
=
"
$(
$DISTRVENDOR
-y
)
"
[
-n
"
$BASEDISTRNAME
"
]
||
BASEDISTRNAME
=
$(
$DISTRVENDOR
-s
)
# TODO: improve BIGTMPDIR conception
# https://bugzilla.mozilla.org/show_bug.cgi?id=69938
...
...
@@ -667,8 +668,8 @@ serv_cat()
docmd systemctl
cat
"
$SERVICE
"
"
$@
"
;;
*
)
case
$DISTRNAME
in
ALTLinux|ALTServer
)
case
$
BASE
DISTRNAME
in
"alt"
)
local
INITFILE
=
/etc/init.d/
$SERVICE
[
-r
"
$INITFILE
"
]
||
fatal
"Can't find init file
$INITFILE
"
docmd
cat
$INITFILE
...
...
@@ -820,8 +821,8 @@ serv_exists()
docmd systemctl
cat
"
$SERVICE
"
"
$@
"
>
/dev/null 2>/dev/null
;;
*
)
case
$DISTRNAME
in
ALTLinux|ALTServer
)
case
$
BASE
DISTRNAME
in
"alt"
)
local
INITFILE
=
/etc/init.d/
$SERVICE
[
-r
"
$INITFILE
"
]
||
return
return
;;
...
...
@@ -988,8 +989,8 @@ serv_log()
sudocmd journalctl
-b
-u
"
$SERVICE
"
"
$@
"
;;
*
)
case
$DISTRNAME
in
ALTLinux|ALTServer
)
case
$
BASE
DISTRNAME
in
"alt"
)
FF
=
""
;
[
"
$1
"
=
"-f"
]
&&
FF
=
"-f"
__serv_log_altlinux
"
$SERVICE
"
$FF
return
;;
...
...
@@ -2375,7 +2376,7 @@ print_version()
local
on_text
=
"(host system)"
local
virt
=
"
$(
$DISTRVENDOR
-i
)
"
[
"
$virt
"
=
"(unknown)"
]
||
[
"
$virt
"
=
"(host system)"
]
||
on_text
=
"(under
$virt
)"
echo
"Service manager version 3.3
1.1
https://wiki.etersoft.ru/Epm"
echo
"Service manager version 3.3
2.0
https://wiki.etersoft.ru/Epm"
echo
"Running on
$(
$DISTRVENDOR
-e
)
$on_text
with
$SERVICETYPE
"
echo
"Copyright (c) Etersoft 2012-2021"
echo
"This program may be freely redistributed under the terms of the GNU AGPLv3."
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment