Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
destream-blockchain
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DeStream-public
destream-blockchain
Commits
9b51ab44
Commit
9b51ab44
authored
May 24, 2018
by
Alexey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DeStreamD autostart script for Linux has been added
parent
335cc787
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
+26
-0
DeStream.DeStreamD.csproj
Sources/DeStream.DeStreamD/DeStream.DeStreamD.csproj
+6
-0
destream.service
Sources/DeStream.DeStreamD/destream.service
+20
-0
No files found.
Sources/DeStream.DeStreamD/DeStream.DeStreamD.csproj
View file @
9b51ab44
...
...
@@ -40,4 +40,10 @@
<PackageReference Include="NLog.Extensions.Logging" Version="1.0.0-rtm-beta5" />
</ItemGroup>
<ItemGroup>
<None Update="destream.service">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>
Sources/DeStream.DeStreamD/destream.service
0 → 100644
View file @
9b51ab44
[Unit]
Description=DeStream node
[Service]
User=destream
Type=simple
TimeoutSec=0
PIDFile=/var/run/destream.pid
ExecStart=/usr/bin/dotnet /home/destream/node/DeStream.DeStreamD.dll -testnet 2>&1> /dev/null
ExecStop=/bin/kill -INT $MAINPID
#ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=on-failure
RestartSec=42s
StandardOutput=null
StandardError=/var/log/destream/destream-error.log
[Install]
WantedBy=default.target
\ No newline at end of file
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