Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
debomatic-webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
debomatic-webui-admins
debomatic-webui
Commits
217f4754
Commit
217f4754
authored
Mar 21, 2014
by
Luca Falavigna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
systemd changes
parent
004c5b3b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
2 deletions
+30
-2
system.d/systemd.env
system.d/systemd.env
+0
-2
systemd/debomatic-webui-proxy.service
systemd/debomatic-webui-proxy.service
+14
-0
systemd/debomatic-webui@.service
systemd/debomatic-webui@.service
+12
-0
systemd/systemd.env
systemd/systemd.env
+4
-0
No files found.
system.d/systemd.env
deleted
100644 → 0
View file @
004c5b3b
DJS_HOME='/home/debomatic/debomatic-webui/debomatic-webui'
DJSPROXY_HOME='/home/debomatic/debomatic-webui/nodejs-proxy'
system
.d/debomatic-nodejs
-proxy.service
→
system
d/debomatic-webui
-proxy.service
View file @
217f4754
...
@@ -3,12 +3,12 @@ Description=Deb-o-Matic Node.js Proxy
...
@@ -3,12 +3,12 @@ Description=Deb-o-Matic Node.js Proxy
[Service]
[Service]
Type=simple
Type=simple
EnvironmentFile=/home/debomatic/debomatic-webui/systemd.env
EnvironmentFile=/home/debomatic/debomatic-webui/systemd
/systemd
.env
ExecStart=/usr/bin/nodejs ${D
JSPROXY_HOME}/proxy.js 2>&1 > ${DJS_HOME}webui
.log
ExecStart=/usr/bin/nodejs ${D
WPROXY}/proxy.js 2>&1 > ${DWLOG}/proxy
.log
ExecStop=/bin/kill -TERM $MAINPID
ExecStop=/bin/kill -TERM $MAINPID
Restart=on-failure
Restart=on-failure
[Install]
[Install]
Requires=debomatic-
nodejs
@amd64.service
Requires=debomatic-
webui
@amd64.service
Requires=debomatic-
nodejs
@i386.service
Requires=debomatic-
webui
@i386.service
WantedBy=multi-user.target
WantedBy=multi-user.target
system
.d/debomatic-nodejs
@.service
→
system
d/debomatic-webui
@.service
View file @
217f4754
...
@@ -3,9 +3,8 @@ Description=Deb-o-Matic Node.js
...
@@ -3,9 +3,8 @@ Description=Deb-o-Matic Node.js
[Service]
[Service]
Type=simple
Type=simple
EnvironmentFile=/home/debomatic/debomatic-webui/systemd.env
EnvironmentFile=/home/debomatic/debomatic-webui/systemd/systemd.env
ExecStartPre=/bin/ln -fs ${DJS_HOME}/%i.config.js ${DJS_HOME}/user.config.js
ExecStart=/usr/bin/nodejs ${DW}/debomatic-webui -c ${DWCONFIG}/%i.config.js 2>&1 > ${DWLOG}/webui-%i.log
ExecStart=/usr/bin/nodejs ${DJS_HOME}/index.js 2>&1 > ${DJS_HOME}/webui-amd64.log
ExecStop=/bin/kill -TERM $MAINPID
ExecStop=/bin/kill -TERM $MAINPID
Restart=on-failure
Restart=on-failure
...
...
systemd/systemd.env
0 → 100644
View file @
217f4754
DW='/home/debomatic/debomatic-webui/debomatic-webui'
DWPROXY='/home/debomatic/debomatic-webui/proxy'
DWCONFIG='/home/debomatic/debomatic-webui/config'
DWLOG='/home/debomatic/debomatic-webui/logs'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment