Posted April 1, 20232 yr Hello All, I am working on a user script, and I need to be able to restart a service (snmpd) from within the script. I have tried the usual commands "service" and "systemctl", but neither work in Unraid. Thanks, Jon
December 21, 20231 yr Solution I was just wondering about this myself. Turns out that in Slackware the services are controlled using their 'run command' scripts under /etc/rc.d/ (nostalgia intensifies!). This should do the trick for snmpd, assuming it's installed - /etc/rc.d/rc.snmpd restart I appreciate this is an old post but thought I'd respond anyway as it may save someone else a little time in the future. Regards, Dave.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.