Commit Graph

178 Commits

Author SHA1 Message Date
Konstantin Stepanov
d0442437fc crontab: replace 2015-07-21 19:23:45 +03:00
Konstantin Stepanov
3ae13cec17 generate units from templates 2015-07-21 19:23:09 +03:00
Konstantin Stepanov
5eed0cad05 suid bit for crontab 2015-07-21 13:00:43 +03:00
Konstantin Stepanov
372f75e181 crontab WIP 2015-07-21 12:59:43 +03:00
Konstantin Stepanov
d55d86eb58 crontab: warnings cleanup 2015-07-20 15:58:36 +00:00
Konstantin Stepanov
c7b8d697bd crontab: replace mode stab 2015-07-20 15:54:22 +00:00
Konstantin Stepanov
d1c48bec37 crontab: edit (WIP) 2015-07-20 18:50:10 +03:00
Konstantin Stepanov
91fe3d3c44 write errors to stderr 2015-07-20 14:34:48 +00:00
Konstantin Stepanov
e3bb80c495 return exit code from functions 2015-07-20 14:23:00 +00:00
Konstantin Stepanov
8192cc4a46 crontab: stubs for all sub commands 2015-07-20 14:11:16 +00:00
Konstantin Stepanov
b6147c456f crontab cleanup 2015-07-20 14:07:28 +00:00
Konstantin Stepanov
6f9426052d update cargo lock file 2015-07-20 13:51:59 +00:00
Konstantin Stepanov
231001a682 thread move/borrow fixes 2015-07-20 13:51:22 +00:00
kstep
17aa4c7d12 process /etc/crontab file 2015-07-19 23:31:07 +00:00
Konstantin Stepanov
1d77334421 fix makefile install target 2015-07-19 00:34:37 +03:00
Konstantin Stepanov
1e216444ec make it compile for 32-bit arch 2015-07-19 00:30:16 +03:00
Konstantin Stepanov
94cc3d34a9 drop pgs-files dependency 2015-07-19 00:30:16 +03:00
Konstantin Stepanov
bce6e6941c WIP: crontab 2015-07-17 18:41:35 +03:00
Konstantin Stepanov
b3617be3b5 fix confirm function stdout & stdin caching 2015-07-17 13:45:20 +03:00
Konstantin Stepanov
876ecadb53 crontab stab 2015-07-17 13:26:36 +03:00
Konstantin Stepanov
63b107cf36 simplify makefile 2015-07-17 04:20:25 +03:00
Konstantin Stepanov
a6be5f85ba add remove-stale-stamps helper script 2015-07-17 04:02:58 +03:00
Konstantin Stepanov
a9692e9f42 improve error logging 2015-07-08 04:25:53 +03:00
Konstantin Stepanov
0724613e36 escalate errors from unit property getter 2015-07-08 03:24:26 +03:00
Konstantin Stepanov
e499e83ebf print errors to stdout for journal 2015-07-08 03:24:05 +03:00
Konstantin Stepanov
2ea6691941 log errors during email sending 2015-07-06 11:36:08 +03:00
Konstantin Stepanov
3e39c10f69 add mail-on-failure helper 2015-07-06 08:02:25 +03:00
Konstantin Stepanov
209476469d don't generate star for dows 2015-07-06 02:29:57 +03:00
Konstantin Stepanov
850a9b4169 install cron.target 2015-07-06 02:29:57 +03:00
Konstantin Stepanov
54e21db9cf add rust version check into pkgbuild 2015-07-06 02:29:57 +03:00
Konstantin Stepanov
ee82c70408 set version to 0.9.0 to preserve lineage 2015-07-06 02:29:57 +03:00
Konstantin Stepanov
00dd9b8213 remove deprecated files 2015-07-06 01:36:45 +03:00
Konstantin Stepanov
0d746b318f add new pkgbuild file 2015-07-06 01:31:09 +03:00
Konstantin Stepanov
37e6ba74be add install commands to makefile 2015-07-06 01:27:45 +03:00
Konstantin Stepanov
cce33c6226 add makefile 2015-07-06 01:01:34 +03:00
Konstantin Stepanov
b557aa1df5 rename boot_delay to boot-delay for consistency 2015-07-06 00:58:46 +03:00
Konstantin Stepanov
a419a1618e closes #22: add onfailure handler to email if mailto set 2015-07-06 00:37:07 +03:00
Konstantin Stepanov
3204bf57db closes #21: make sure /var is mounted, rerun generator if necessary after mount 2015-07-06 00:28:57 +03:00
Konstantin Stepanov
9d0a544182 closes #23: use reboot lock file 2015-07-06 00:04:24 +03:00
Konstantin Stepanov
64aae072e4 propagate errors from generate_systemd_units() 2015-07-05 23:50:51 +03:00
Konstantin Stepanov
74f16118f1 log entry in a nicer form 2015-07-05 23:23:03 +03:00
Konstantin Stepanov
847d0c7ef3 remove unused function 2015-07-05 23:23:03 +03:00
Konstantin Stepanov
3415326312 get user from passwd, put complex commands into shell script 2015-07-05 23:23:03 +03:00
Konstantin Stepanov
6640cb1307 move units generating function into separate module 2015-07-05 21:08:06 +03:00
Konstantin Stepanov
c278d53cfa add boot_delay utility 2015-07-05 19:31:25 +03:00
Konstantin Stepanov
8c7c569d02 unit name in timer unit fix 2015-07-05 18:50:41 +03:00
Konstantin Stepanov
9d45ae7087 set user for user crontab 2015-07-05 18:45:06 +03:00
Konstantin Stepanov
c3efa2cca2 symlink timer to cron target 2015-07-05 18:26:26 +03:00
Konstantin Stepanov
f18e37fc3f Merge branch 'rust' 2015-07-05 17:47:46 +03:00
Konstantin Stepanov
cb1e35ce09 fight warnings 2015-07-05 17:44:02 +03:00