Se

Servicer, pm2 alternative built on Rust and systemd

Hacker News

Servicer, pm2 alternative built on Rust and systemd

Servicer is a CLI to create and manage services on systemd. I have used pm2 in production and find it easy to use. However a lot of its functionality is specific to node.js, and I would prefer not to run my rust server as a fork of a node process. Systemd on the other hand has most of the things I need, but I found it cumbersome to use. There are a bunch of different commands and configurations- the .service file, systemctl to view status, journald to view logs which make systemd more complex to setup. I had to google for the a template and commands every time. Servicer abstracts this setup behind an easy to use CLI, for instance you can use `ser create index.js --interpreter node --enable --start` to create a `.service` file, enable it on boot and start it. Servicer will also help if you wish to write your own custom `.service` files. Run `ser edit foo --editor vi` to create a service file in Vim. Servicer will provide a starting template so you don't need to google it. There are additional utilities like `ser which index.js` to view the path of the service and unit file. ``` Paths for index.js.ser.service: +--------------+-----------------------------------------------------------+ | name | path | +--------------+-----------------------------------------------------------+ | Service file | /etc/systemd/system/index.js.ser.service | +--------------+-----------------------------------------------------------+ | Unit file | /org/freedesktop/systemd1/unit/index_2ejs_2eser_2eservice | +--------------+-----------------------------------------------------------+ ``` Servicer is daemonless and does not run in the background. It simply sets up systemd and gets out of the way. There are no forked services, everything is natively set up on systemd. You don't need to worry about resource consumption or servicer going down which will cause your app to stop. Do give it a spin and review the codebase. The code is open source and MIT licensed- https://github.com/servicer-labs/servicer

Share card

Actual performance

147points
37comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: google, code, open · Missing: mac, agents, macos
79%79% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
75%75% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: open source, ide, io · Missing: https docs, excited, just released
53%53% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Strong signals: google, way · Missing: mobile apps, ios, personal
50%50% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
26%26% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
14%14% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Ra
Rathole – An Rust alternative to frp and ngrok, with gains in perf58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Rathole – An Rust alternative to frp and ngrok, with gains in perf

Hacker News6
Ru
RustyNum – Fast Rust-Powered NumPy Alternative68%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

RustyNum – Fast Rust-Powered NumPy Alternative

Hacker News1
Le
Lemmy – A federated Reddit alternative in rust66%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Lemmy – A federated Reddit alternative in rust

Hacker News2
Ch
ChatGPT built in Rust + Vue45%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

ChatGPT built in Rust + Vue

Hacker News1
I
I built Rumbo – NextJS alternative with ExpressJs38%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

I built Rumbo – NextJS alternative with ExpressJs

Hacker News2
Ta
TailwindUI alternative built with bootstrap (NinjaBootstrap)61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

TailwindUI alternative built with bootstrap (NinjaBootstrap)

Hacker News3
I
I built a TradingView alternative with $063%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

I built a TradingView alternative with $0

Hacker News2
Dj
Django_translate – handy alternative for django built-in translations38%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Django_translate – handy alternative for django built-in translations

Hacker News2
Rm
Rmt an alternative to rm with trash written in Rust69%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Rmt an alternative to rm with trash written in Rust

Hacker News45
Sc
Screencast: An Introduction to Rust57%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Screencast: An Introduction to Rust

Hacker News3