Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Webapps Deliverer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vaclab
Webapps Deliverer
Commits
bdf53132
Commit
bdf53132
authored
4 weeks ago
by
Rolf Niepraschk
Browse files
Options
Downloads
Patches
Plain Diff
update_from_git
parent
060aa4bb
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
update_from_git
+30
-0
30 additions, 0 deletions
update_from_git
webapps-deliverer-restart.service
+0
-12
0 additions, 12 deletions
webapps-deliverer-restart.service
webapps-deliverer-restart.timer
+0
-11
0 additions, 11 deletions
webapps-deliverer-restart.timer
with
30 additions
and
23 deletions
update_from_git
0 → 100755
+
30
−
0
View file @
bdf53132
#! /bin/bash
# Rolf Niepraschk (Rolf.Niepraschk@ptb.de), 2025-06-11
# Installiert eine neue Version vom zugehörigen GIT-Repositorium
# und lädt den Server-Prozess neu.
# Aufruf als root (auf dem Server!):
#
# ./update_from_git
#
PROJECT
=
"webapps-deliverer"
GITLAB_URL
=
https://gitlab1.ptb.de/vaclab/
${
PROJECT
}
/-/archive/master/
${
PROJECT
}
-master
.tar.gz
DEST_USER
=
nobody
if
[
$(
getent group nobody
)
]
;
then
DEST_GROUP
=
nobody
else
DEST_GROUP
=
nogroup
fi
# Struktur des tar-Archives herunterladen und gleichzeitig entpacken
curl
-s
-o
-
${
GITLAB_URL
}
|
tar
-xzf
-
--strip-components
=
1
chown
-R
${
DEST_USER
}
:
${
DEST_GROUP
}
./
systemctl daemon-reload
systemctl restart
${
PROJECT
}
.service
exit
This diff is collapsed.
Click to expand it.
webapps-deliverer-restart.service
deleted
100644 → 0
+
0
−
12
View file @
060aa4bb
[Unit]
Description
=
Restart the webapps deliverer server
#Documentation=
[Service]
Type
=
oneshot
WorkingDirectory
=
/usr/local/share/webapps-deliverer
EnvironmentFile
=
-/etc/environment
Environment
=
XDG_CACHE_HOME=/var/tmp
Environment
=
HOST=%H
ExecStart
=
/bin/bash -lc 'systemctl restart webapps-deliverer.service'
This diff is collapsed.
Click to expand it.
webapps-deliverer-restart.timer
deleted
100644 → 0
+
0
−
11
View file @
060aa4bb
[Unit]
Description=Restart the webapps deliverer server (Timer)
[Timer]
Persistent=false
OnCalendar=Mon..Fri *-*-* 20:00:17
[Install]
WantedBy=timers.target
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