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
Nurlan
eepm
Commits
c18c7c68
Commit
c18c7c68
authored
Aug 23, 2016
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
serv-enable: small fix
parent
d99b3f08
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
serv-enable
bin/serv-enable
+2
-2
No files found.
bin/serv-enable
View file @
c18c7c68
...
@@ -25,7 +25,7 @@ __serv_enable()
...
@@ -25,7 +25,7 @@ __serv_enable()
{
{
local
SERVICE
=
"
$1
"
local
SERVICE
=
"
$1
"
is_service_autostart
$1
&&
info
"Service
$1
already enabled for startup"
&&
return
is_service_autostart
$1
&&
info
"Service
$1
is
already enabled for startup"
&&
return
case
$SERVICETYPE
in
case
$SERVICETYPE
in
service-chkconfig
)
service-chkconfig
)
...
@@ -47,7 +47,7 @@ __serv_enable()
...
@@ -47,7 +47,7 @@ __serv_enable()
sudocmd systemctl
enable
$1
sudocmd systemctl
enable
$1
;;
;;
runit
)
runit
)
assure_exists
$SERVICE
epm assure
$SERVICE
[
-r
"/etc/sv/
$SERVICE
"
]
||
fatal
"Can't find /etc/sv/
$SERVICE
"
[
-r
"/etc/sv/
$SERVICE
"
]
||
fatal
"Can't find /etc/sv/
$SERVICE
"
sudocmd
ln
-s
/etc/sv/
$SERVICE
/var/service/
sudocmd
ln
-s
/etc/sv/
$SERVICE
/var/service/
;;
;;
...
...
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