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
Иван Мажукин
eepm
Commits
f73f3183
Commit
f73f3183
authored
Oct 15, 2025
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
serv: initialize sudo just before command run
parent
30d8934f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
serv
bin/serv
+4
-4
No files found.
bin/serv
View file @
f73f3183
...
@@ -66,10 +66,6 @@ load_helper epm-sh-functions
...
@@ -66,10 +66,6 @@ load_helper epm-sh-functions
INITDIR
=
/etc/init.d
INITDIR
=
/etc/init.d
PATH
=
$PATH
:/sbin:/usr/sbin
set_sudo
check_tty
check_tty
#############################
#############################
...
@@ -294,6 +290,10 @@ if [ -z "$serv_cmd" ] ; then
...
@@ -294,6 +290,10 @@ if [ -z "$serv_cmd" ] ; then
serv_cmd
=
common
serv_cmd
=
common
fi
fi
PATH
=
$PATH
:/sbin:/usr/sbin
set_sudo
# Run helper for command
# Run helper for command
load_helper serv-
$serv_cmd
load_helper serv-
$serv_cmd
serv_
$serv_cmd
$service_name
$params
serv_
$serv_cmd
$service_name
$params
...
...
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