Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
documento-printserver
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Documento
documento-printserver
Commits
aeae2052
Verified
Commit
aeae2052
authored
3 years ago
by
Jonathan Weth
Browse files
Options
Downloads
Patches
Plain Diff
Add systemd service file to debian package
parent
466a3b6a
No related branches found
No related tags found
No related merge requests found
Pipeline
#20753
passed
3 years ago
Stage: test
Stage: build
Changes
4
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
debian/control
+1
-1
1 addition, 1 deletion
debian/control
debian/documento-printserver.service
+9
-0
9 additions, 0 deletions
debian/documento-printserver.service
debian/rules
+1
-1
1 addition, 1 deletion
debian/rules
with
12 additions
and
3 deletions
.gitlab-ci.yml
+
1
−
1
View file @
aeae2052
...
...
@@ -20,7 +20,7 @@ build-deb:
stage
:
build
before_script
:
-
*before-script
-
apt update && apt install -y build-essential debhelper devscripts equivs dh-virtualenv libffi-dev
-
apt update && apt install -y build-essential debhelper devscripts equivs dh-virtualenv libffi-dev
dh-systemd
script
:
-
./build-deb.sh
-
mkdir build
...
...
This diff is collapsed.
Click to expand it.
debian/control
+
1
−
1
View file @
aeae2052
...
...
@@ -2,7 +2,7 @@ Source: documento-printserver
Section: python
Priority: extra
Maintainer: Jonathan Weth <dev@jonathanweth.de>
Build-Depends: debhelper (>= 10), python3, dh-virtualenv (>= 1.0),
Build-Depends: debhelper (>= 10),
dh-systemd (>=1.5),
python3, dh-virtualenv (>= 1.0),
python3-setuptools, python3-pip, python3-dev, libffi-dev
Standards-Version: 4.5.0
Homepage: https://edugit.org/documento/documento-printserver
...
...
This diff is collapsed.
Click to expand it.
debian/documento-printserver.service
0 → 100644
+
9
−
0
View file @
aeae2052
[Unit]
Description
=
Documento Printserver
After
=
network.target
[Service]
ExecStart
=
/usr/bin/documento-printserver
[Install]
WantedBy
=
multi-user.target
\ No newline at end of file
This diff is collapsed.
Click to expand it.
debian/rules
+
1
−
1
View file @
aeae2052
#!/usr/bin/make -f
%:
dh $@ --with python-virtualenv
dh $@ --with python-virtualenv
,systemd
override_dh_virtualenv:
dh_virtualenv --python python3 --extra-pip-arg "--no-deps" --use-system-packages
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