#need help making a systemd service

11 messages · Page 1 of 1 (latest)

sweet wagon
#

So i tried to make a systemd service for arrpc, i enabled it, but it doesn't starts when ever i boot up, i still have to manually start it

#
[Unit]
Description=Node.js Sample Service
After=multi-user.target

[Service]
ExecStart=/usr/bin/node /home/eltala/projects/arRPC/arrpc/src
WorkingDirectory=/home/eltala/projects/arRPC/arrpc/src
Restart=always
SyslogIdentifier=node-sample
Environment=NODE_ENV=production

[Install]
WantedBy=multi-user.target
``` this is what i did
opal lichen
#

What command did you use to try and make it start on startup?

sweet wagon
opal lichen
#

Here's what we're gonna do. run journalctl -f , and put it to the side. Then try that command again.

#

You'll use two terminals

brazen stratus
sweet wagon
#

running it my self is fine

#

it starts