IURIX
Begin main content

Systemd

Create the service file

Create /etc/systemd/system/nodeserver.service

[Unit]
Description=Node.js Example Server
#Requires=After=mysql.service       # Requires the mysql service to run first

[Service]
ExecStart=/usr/local/bin/node /opt/nodeserver/server.js
# Required on some systems#WorkingDirectory=/opt/nodeserverRestart=always
# Restart service after 10 seconds if node service crashesRestartSec=10
# Output to syslogStandardOutput=syslog
StandardError=syslog
SyslogIdentifier=nodejs-example
#User=<alternate user>#Group=<alternate group>Environment=NODE_ENV=production PORT=1337

[Install]
WantedBy=multi-user.target

Enable the service

systemctl enable nodeserver.service
Created symlink from /etc/systemd/system/multi-user.target.wants/nodeserver.service to /etc/systemd/system/nodeserver.service.

Start the service

systemctl 
start nodeserver.service

05:16 PM, 28 May 2020 by Iuri Sampaio Permalink | Comments (0)

{Core Exercises to Improve Your Surfing + The Intermediate Surfer's Post-Lockdown Bucket List}



A stay at home core workout because a strong core means stronger surfing, how to get started in surf art, a post-lockdown bucket list for the intermediate surfer, and how surfers are becoming vital citizen scientists.
logo
  
Visit magicseaweed
Copenhagen-plank2-crop.jpg
Core Exercises You Can Do at Home to Help Improve Your Surfing
Stay at home, get ready to shred.
  
  
FEATURES AND VIDEOS
MSW Picks
  
image.jpeg
How Surfers Are Turning into Vital Citizen Scientists
Just doing our part.
Read more
  
image (1).jpeg
How To: Get Started In Surf Art with Jonas Claesson
If, like us, you're trying to find ways to deal with the dry life, this could be the perfect thing.
Read more
  
image (2).jpeg
The Intermediate Surfer's Post-Lockdown Bucket List
Yeah lockdown and etc, but no reason you can't mind surf for when the curtain finally lifts.
Read more
02:17 PM, 28 May 2020 by Iuri Sampaio Permalink | Comments (0)

{=?utf-8?Q?What=E2=80=99s_New_in_React_Native_0=2E63=3F_=7C_Joan_S?= =?utf-8?Q?aum_in_Better_Programming?=}



02:16 PM, 28 May 2020 by Iuri Sampaio Permalink | Comments (0)