Re: How to correctly enable Cloud Node startup in Linux?
Elar Tammeraja
5-10-17
Some Linux distributions can use systemd to ensure that the Cloud Node is automatically started when the system boots, and restarts during updates or failures. The recommended service file for the Cloud Node should be named “hansa-cloudnode.service”, and placed in /usr/lib/systemd/system. To learn more about systemd we refer you to the Linux documentation that can be found online.


Recommended contents of hansa-cloudnode.service:

[Unit]
Description=Standard ERP Cloud Node
After=syslog.target
After=network.target
[Service]
Type=simple
User=root
WorkingDirectory=
ExecStart=/hansa-cloudnode
KillMode=process
Restart=always
[Install]
WantedBy=multi-user.target

systemctl daemon-reload
systemctl stop hansa-cloudnode.service
systemctl start hansa-cloudnode.service
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Latest Posts
Lilian Wanyoike
Hi, Spinners & Spinners are currently on version 8.5 2022-02-02 (build 85420830). they have been experiencing a network lag. Action taken: - Checked logs and confirmed that they had not whiteli...
14:13 30 Aug 2024
Lilian Wanyoike
Hi, Spinners & Spinners are currently on version 8.5 2022-02-02 (build 85420830). they have been experiencing a network lag. Action taken: - Checked logs and confirmed that they had not whiteli...
14:13 30 Aug 2024