■ [tiarra][daemontools] tiarra を daemontools で動かす時にユーザー権限にするの術 昨日書いたエントリにブクマコメントで root権限で動かしてるのか。setuidgid 使って user 権限で動かすといいよ。 と yaa さんからコメントがあったので早速やってみた。以下手順。 sudo svc -d /etc/service/tiarra でサービスを一時停止 sudo svstat /etc/service/tiarra でダウンしていることを確認 tiarra/run に記述している perl の先頭に setuidgid hsbt を追加 sudo svc -u /etc/service/tiarra で再起動 これで起動できると思っていたんだけど、前に動かしていたプロセスが残っていたので、強引に kill してしまった。ひとまずこれでユ