#need help making a systemd service
11 messages · Page 1 of 1 (latest)
[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
What command did you use to try and make it start on startup?
systemctl --user enable arrpc.service
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
@sweet wagon i think you probably want to change ExecStart to be a file in src, not the src directory itself
gotcha
i tried that
running it my self is fine
it starts