|
@@ -0,0 +1,10 @@
|
|
|
+deploy:
|
|
|
+ scp cotisations.py root@odoo.fixme.ch:/usr/local/bin/cotisations.py
|
|
|
+ scp cotisations.service root@odoo.fixme.ch:/etc/systemd/system/cotisations.service
|
|
|
+
|
|
|
+ ssh root@odoo.fixme.ch systemctl daemon-reload
|
|
|
+ ssh root@odoo.fixme.ch systemctl enable cotisations.service
|
|
|
+ ssh root@odoo.fixme.ch systemctl restart cotisations.service
|
|
|
+
|
|
|
+log:
|
|
|
+ ssh root@odoo.fixme.ch journalctl -u cotisations.service -f
|