OneSender: Difference between revisions
Johan Efendi (talk | contribs) No edit summary |
Johan Efendi (talk | contribs) |
||
Line 2: | Line 2: | ||
Cek versi | Cek versi | ||
< | <syntaxhighlight lang="bash"> | ||
cd /opt/onesender | cd /opt/onesender | ||
./onesender-x86_64 -c config_n.yaml --version | ./onesender-x86_64 -c config_n.yaml --version | ||
</ | </syntaxhighlight> | ||
Ganti Password | Ganti Password | ||
< | <syntaxhighlight lang="bash"> | ||
./onesender-x86_64 -c config_n.yaml --set-option-key="app.password" --set-option-value="onesender12345" | ./onesender-x86_64 -c config_n.yaml --set-option-key="app.password" --set-option-value="onesender12345" | ||
./onesender-x86_64 -c config_n.yaml --set-option-key="app.login" --set-option-value="admin" | ./onesender-x86_64 -c config_n.yaml --set-option-key="app.login" --set-option-value="admin" | ||
</ | </syntaxhighlight> | ||
Perintah service | Perintah service | ||
< | <syntaxhighlight lang="bash"> | ||
systemctl stop onesender@n | systemctl stop onesender@n | ||
systemctl start onesender@n | systemctl start onesender@n | ||
Line 20: | Line 20: | ||
systemctl enable onesender@n | systemctl enable onesender@n | ||
systemctl is-enabled onesender@n | systemctl is-enabled onesender@n | ||
</ | </syntaxhighlight> | ||
==Konfigurasi== | ==Konfigurasi== |
Latest revision as of 05:36, 27 May 2024
Short Cuts
Cek versi
cd /opt/onesender
./onesender-x86_64 -c config_n.yaml --version
Ganti Password
./onesender-x86_64 -c config_n.yaml --set-option-key="app.password" --set-option-value="onesender12345"
./onesender-x86_64 -c config_n.yaml --set-option-key="app.login" --set-option-value="admin"
Perintah service
systemctl stop onesender@n
systemctl start onesender@n
systemctl status onesender@n
systemctl enable onesender@n
systemctl is-enabled onesender@n
Konfigurasi
Auto download attachment
webhook: disable_outbox: false disable_outbox_group: false save_media: true send_my_message: true send_outbox_hook: true