App aus Dateinamen entfernt
This commit is contained in:
@@ -1 +1 @@
|
||||
/opt/xxx/app/xxx_app.conf
|
||||
/opt/xxx/xxx.conf
|
||||
|
||||
@@ -15,7 +15,7 @@ if [ $rc -eq 0 ] ; then
|
||||
minor=$(date +'%m')
|
||||
|
||||
progpfad="opt/xxx/"
|
||||
apppfad="app/lib/XxxApp.pm"
|
||||
apppfad="app/lib/Xxx.pm"
|
||||
workdir=/tmp/$USER_$(pwd | sed 's/^.*\///')
|
||||
rm -Rf "${workdir:?}/*"
|
||||
mkdir -p "$workdir"
|
||||
|
||||
@@ -8,11 +8,11 @@ StartLimitIntervalSec=10
|
||||
Type=forking
|
||||
User=steffen-xxx
|
||||
Group=webapps
|
||||
WorkingDirectory=/opt/xxx/app
|
||||
ExecStart=/usr/bin/hypnotoad ./script/XxxApp
|
||||
ExecReload=/usr/bin/hypnotoad ./script/XxxApp
|
||||
WorkingDirectory=/opt/xxx
|
||||
ExecStart=/usr/bin/hypnotoad ./script/Xxx
|
||||
ExecReload=/usr/bin/hypnotoad ./script/Xxx
|
||||
Restart=on-failure
|
||||
PIDFile=/run/xxx.pid
|
||||
PIDFile=/run/steffen/xxx.pid
|
||||
KillMode=process
|
||||
|
||||
# Optional hardening to improve security
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
# see https://www.freedesktop.org/software/systemd/man/latest/tmpfiles.d.html
|
||||
# Type Path Mode User Group Age Argument
|
||||
d /run/steffen 770 root webapps
|
||||
Z /opt/xxx - steffen-xxx steffen-xxx
|
||||
|
||||
Reference in New Issue
Block a user