cd /opt/webapps/kutt
sudo -u www-data pm2 startup
sudo env PATH=$PATH:/usr/bin pm2 startup systemd -u wildanm --hp /var/www
sudo -u www-data pm2 save
Referensi
- Kutt, a modern URL shortener with support for custom domains. Shorten URLs, manage your links and view the click rate statistics, https://github.com/openthinklabs/kutt
- pm2 startup script, https://pm2.keymetrics.io/docs/usage/startup/
- How to ensure Kutt process starts on server start? , https://github.com/thedevs-network/kutt/issues/273
No comments:
Post a Comment