Comment Comment by MuffinFlavored > Systemd on the other hand has most of the things I need, but I found it cumbersome to useCould you please expand on this? From what I understand, to use systemd to deploy a microservice is basically one file: # /etc/systemd/system/myservice.service [Unit] Description=My Microservice After=network.target [Service] ExecStart=/path/to/myservice Restart=always User=myuser Group=mygroup Environment=VARIABLE=value WorkingDirectory=/path/to/service/directory StandardOutput=syslog StandardError=syslog SyslogIdentifier=myservice [Install] WantedBy=multi-user.target Then, to "use" it: # reload systemd sudo systemctl daemon-reload # start service sudo systemctl start myservice # enable service at boot sudo systemctl enable myservice # check status sudo systemctl status myservice # check logs journalctl -u myservice What more advanced stuff were you trying to do that you ran into that made systemd seem cumbersome? parent MuffinFlavored 3 years ago
Could you please expand on this? From what I understand, to use systemd to deploy a microservice is basically one file:
Then, to "use" it: What more advanced stuff were you trying to do that you ran into that made systemd seem cumbersome?