Warning under Fedora 39 - systemd unit
- 9 months ago
Found my answer.
https://github.com/second2050/logmein-hamachi-nix-companion
Here's how I adapted it for Fedora. My logmein-hamachi.service file follows:
--
[Unit]
Description=LogMeIn Hamachi daemon (Fedora)
After=local-fs.target network.target[Service]
ExecStart=/opt/logmein-hamachi/bin/hamachid
Type=forking[Install]
WantedBy=multi-user.target--
Installed the above to /etc/systemd/system/logmein-hamachi.service.
Then ran the following commands as root
systemctl daemon-reload
systemctl start logmein-hamachi
systemctl enable logmein-hamachi
Don't forget to delete /etc/init.d/logmein-hamachi when you're done.
It would be nice if this were incorporated into the .rpm file but until then this fix gets me through the deprecation of init.d services coming up soon.