Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo '[Unit]
- Description=nfcapd
- After=network.target
- [Service]
- Type=forking
- PIDFile=/var/netflow/scripts/nf.pid
- ExecStart=/var/netflow/scripts/start_nfcapd.sh
- Restart=always
- [Install]
- WantedBy = multi-user.target' > /etc/systemd/system/mynf.service
- systemctl daemon-reload
- systemctl restart mynf.service
- systemctl status -l mynf.service
- systemctl enable mynf.service
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement