Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
celllframe-node
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
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
Dmitry Puzyrkov
celllframe-node
Commits
197b9c1b
Commit
197b9c1b
authored
5 years ago
by
Dmitriy A. Gerasimov
Browse files
Options
Downloads
Patches
Plain Diff
[*] Fixed systemd service
parent
d0ac03cc
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+1
-1
1 addition, 1 deletion
CMakeLists.txt
dist/share/cellframe-node.service
+10
-8
10 additions, 8 deletions
dist/share/cellframe-node.service
with
11 additions
and
9 deletions
CMakeLists.txt
+
1
−
1
View file @
197b9c1b
...
...
@@ -39,7 +39,7 @@ SET( CPACK_GENERATOR "DEB")
SET
(
CPACK_PACKAGE_NAME
"
${
PROJECT_NAME
}
"
)
SET
(
CPACK_PACKAGE_VERSION_MAJOR 2
)
SET
(
CPACK_PACKAGE_VERSION_MINOR 3
)
SET
(
CPACK_PACKAGE_VERSION_PATCH
4
)
SET
(
CPACK_PACKAGE_VERSION_PATCH
5
)
SET
(
CPACK_SYSTEM_NAME
"debian-9.9-amd64"
)
SET
(
CPACK_PACKAGE_VERSION
"
${
CPACK_PACKAGE_VERSION_MAJOR
}
.
${
CPACK_PACKAGE_VERSION_MINOR
}
-
${
CPACK_PACKAGE_VERSION_PATCH
}
"
)
...
...
This diff is collapsed.
Click to expand it.
dist/share/cellframe-node.service
+
10
−
8
View file @
197b9c1b
...
...
@@ -3,16 +3,18 @@ Description=Cellframe Node
After
=
network.target
[Service]
Type
=
forking
OOMScoreAdjust
=
-1000
PIDFile
=
/opt/
k
el
vin
-node/var/run/cellframe-node.pid
#
Type=forking
#
OOMScoreAdjust=-1000
#
PIDFile=/opt/
c
el
lframe
-node/var/run/cellframe-node.pid
WorkingDirectory
=
/opt/cellframe-node
ExecStart
=
/opt/cellframe-node/bin/cellframe-node
-D
ExecStart
=
/opt/cellframe-node/bin/cellframe-node
&
ExecStop
=
/opt/cellframe-node/bin/cellframe-node --stop
Restart
=
always
User
=
cellframe-node
Group
=
cellframe-node
CapabilityBoundingSet
=
CAP_NET_BIND_SERVICE CAP_IPC_LOCK CAP_KILL CAP_LEASE CAP_MKNOD CAP_NET_ADMIN CAP_NET_BROADCAST CAP_NET_RAW CAP_SYS_NICE CAP_SYS_RAWIO CAP_SYSLOG CAP_WAKE_ALARM
#User=cellframe-node
#Group=cellframe-node
User
=
root
Group
=
root
CapabilityBoundingSet
=
CAP_NET_BIND_SERVICE CAP_IPC_LOCK CAP_KILL CAP_LEASE CAP_MKNOD CAP_NET_ADMIN CAP_NET_BROADCAST CAP_NET_RAW CAP_SYS_NICE CAP_SYS_RAWIO CAP_SYSLOG CAP_WAKE_ALARM
[Install]
[Install]
WantedBy
=
multi-user.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