Commit graph

17 commits

Author SHA1 Message Date
mmetc fa8d5b6992
post-install: reduce verbosity (#2751)
* post install: avoid message "no such file or directory" when looking for logs
* post install: avoid info and warning messages when registering to capi
* lint (backtick)
2024-01-18 09:20:52 +01:00
Manuel Sabban 052accd6bb
welcome message when installing packages (#2672)
* welcome message when installing packages
2023-12-20 09:44:10 +01:00
mmetc 240f057f95
postinst: update check for enabled lapi (#2674) 2023-12-19 21:46:34 +01:00
mmetc 12d9fba4b3
cscli machines: lint + write output to stdout instead of log (#2657)
* feedback on stdout, not log.Info
* rename parameters to silence warnings from "unusedparams"
* debian postinst: skip duplicate warnings with 'cscli machines add'
* rpm postinst: skip duplicate warnings in 'cscli machines add'
* update func tests
* debian prerm: if dashboard remove fails, explain it's ok
* debian prerm: suppress warnings about wal, capi when attempting to remove the dashboard
* wizard.sh: log format like crowdsec
2023-12-13 15:43:46 +01:00
Manuel Sabban c707b72b03
fix lapi credentials creation for debian package (#2646)
* fix lapi credentials creation for package s
---------

Co-authored-by: mmetc <92726601+mmetc@users.noreply.github.com>
2023-12-08 12:10:23 +01:00
Laurence Jones 24b540ecde
Cronjob via packages (#1820)
* Final version
2022-10-18 16:11:48 +01:00
Laurence Jones 0ecb6dcd4d
Hub auto update cronjob (#1817)
Add hub cron installation to install scripts

Plus remove on uninstall
2022-10-17 16:04:01 +01:00
mmetc 1aac5d78d9
replace wizard patch for .deb & .rpm packages with an envvar check (#1630) 2022-08-16 14:59:59 +02:00
Manuel Sabban bec231c1e6
Fix 1314 (#1320)
* fix https://github.com/crowdsecurity/crowdsec/issues/1314
* fix postinst logic
* fix in rpm as well

Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
2022-03-10 13:57:04 +01:00
Manuel Sabban afe1704aa6
fix upgrade when somthing is already listening on 8080 (#1258)
* this should fix issue #1245
* change cmdline for getting port

Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
2022-02-15 11:20:52 +01:00
mmetc 9c9639d19b
string comparison fix (#1220) 2022-02-01 09:55:28 +01:00
mmetc 7dee103b6e
typos of various nature (#1072) 2021-12-06 17:29:23 +01:00
blotus 66919924d3
don't attempt to start crowdsec if LAPI has been disabled with debconf (#1016) 2021-10-22 10:49:44 +02:00
Manuel Sabban 0d075f32cd
fix perms in package installation (#1012)
* fix perms

Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
2021-10-22 10:14:15 +02:00
Manuel Sabban 9b5cb6abc9
fucntional tests fix (#952)
* add patch for the user used for starting plugins
* fix postinst
* fix fucn tests to make it work with ansible
* group_wait to 5s
* small fixes

Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
2021-09-09 16:24:59 +02:00
Manuel Sabban 21dd4851f1
make crowdsec own /etc/crowdsec/* (#947)
* make debian packages own /etc/crowdsec/*

* make package owns /etc/crowdsec/*

Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
2021-09-08 11:36:59 +02:00
blotus 1a605f33da
import debian & rpm sources (#898) 2021-08-18 13:57:06 +02:00