systemctl
#177
Replies: 1 comment 8 replies
-
Thanks for sharing. Run
to generate an even better service file. No helper script like |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is likely old hat for most and likely done "in the dumbest way possible", but in case anyone else wants to run fishnet under systemctl, here's what I did on CentOS Stream:
Moved fishnet-x86_64-unknown-linux-gnu executable to /usr/local/bin
Moved fishnet.ini to /etc
Created /usr/local/bin/fishnet.sh:
Created /etc/systemd/system/fishnet.service:
After that, I enabled the service:
If you want to look at the log:
sudo tail -f /var/log/messages
Beta Was this translation helpful? Give feedback.
All reactions