Membuat systemd service dicomweb-proxy #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Requirements
dicomweb-proxysudah di-clone dan berjalan secara manual (npm start).Install Node.js via NVM
Jika Node.js belum terinstall, ikuti langkah berikut untuk menginstall menggunakan NVM:
Steps
Buat Service File:
/etc/systemd/system/dicomweb-proxy.service:Reload dan Enable Service:
Periksa Status:
Verification
Pastikan service aktif:
Output:
active.Cek log untuk memastikan tidak ada error:
Akses aplikasi di browser atau API endpoint untuk memastikan proxy berfungsi.
Dengan langkah ini,
dicomweb-proxyakan berjalan otomatis saat server reboot.