[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
howtos:slackware_admin:runit [2018/12/19 20:37 (UTC)] – [runit] chrisabela | howtos:slackware_admin:runit [2018/12/20 09:16 (UTC)] – [6. runsv] chrisabela | ||
---|---|---|---|
Line 44: | Line 44: | ||
#!/bin/sh | #!/bin/sh | ||
RUNIT=x$( /sbin/pidof runsvdir ) | RUNIT=x$( /sbin/pidof runsvdir ) | ||
- | if [ “$RUNIT” ! = x ]; then | + | if [ “$RUNIT” != x ]; then |
kill $RUNIT | kill $RUNIT | ||
fi | fi | ||
Line 216: | Line 216: | ||
</ | </ | ||
- | In order to let the non-privileged user (say user chris) run it, change the ownership of the service | + | In order to let the non-privileged user (say user chris) run it, change the ownership of the service |
< | < |