OneSender: Difference between revisions

From Corat Coret
No edit summary
 
Line 2: Line 2:


Cek versi
Cek versi
<pre>
<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
</pre>
</syntaxhighlight>


Ganti Password
Ganti Password
<pre>
<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"
</pre>
</syntaxhighlight>


Perintah service
Perintah service
<pre>
<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
</pre>
</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