Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pymilter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
misc
pymilter
Commits
7d097fa4
Commit
7d097fa4
authored
6 years ago
by
Stuart D. Gathman
Browse files
Options
Downloads
Patches
Plain Diff
start.sh superceded by daemonize on EL6 and systemd elsewhere.
parent
ca81502c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
start.sh
+0
-19
0 additions, 19 deletions
start.sh
with
0 additions
and
19 deletions
start.sh
deleted
100755 → 0
+
0
−
19
View file @
ca81502c
#!/bin/sh
appname
=
"
$1
"
script
=
"
${
2
:-${
appname
}}
"
datadir
=
"/var/lib/milter"
logdir
=
"/var/log/milter"
piddir
=
"/var/run/milter"
libdir
=
"/usr/lib/pymilter"
python
=
"python2.4"
exec
>>
${
logdir
}
/
${
appname
}
.log 2>&1
if
test
-s
${
datadir
}
/
${
script
}
.py
;
then
cd
${
datadir
}
# use version in data dir if it exists for debugging
elif
test
-s
${
logdir
}
/
${
script
}
.py
;
then
cd
${
logdir
}
# use version in log dir if it exists for debugging
else
cd
${
libdir
}
fi
${
python
}
${
script
}
.py &
echo
$!
>
${
piddir
}
/
${
appname
}
.pid
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment